mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 900975 - include font-smoothing setting in the nsFont::BaseEquals comparison. r=dbaron
This commit is contained in:
parent
1fc0e2a754
commit
95d34d6bf0
@ -115,7 +115,8 @@ bool nsFont::BaseEquals(const nsFont& aOther) const
|
||||
(variantNumeric == aOther.variantNumeric) &&
|
||||
(variantPosition == aOther.variantPosition) &&
|
||||
(alternateValues == aOther.alternateValues) &&
|
||||
(featureValueLookup == aOther.featureValueLookup)) {
|
||||
(featureValueLookup == aOther.featureValueLookup) &&
|
||||
(smoothing == aOther.smoothing)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -125,8 +126,7 @@ bool nsFont::Equals(const nsFont& aOther) const
|
||||
{
|
||||
if (BaseEquals(aOther) &&
|
||||
(variant == aOther.variant) &&
|
||||
(decorations == aOther.decorations) &&
|
||||
(smoothing == aOther.smoothing)) {
|
||||
(decorations == aOther.decorations)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user