зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1815679 - Account for mRangeFlags in the userfont cache key. r=emilio
This is actually a bug that pre-dates the regression here, but I haven't seen a report of it or a specific test failure that results. However, the new WPT reftests I'm intending to land for the slant issue do exhibit a failure until this is fixed, so let's go ahead and do it here. Differential Revision: https://phabricator.services.mozilla.com/D169334
This commit is contained in:
Родитель
231b3e98e0
Коммит
6c2cb4ec55
|
@ -1160,6 +1160,7 @@ bool gfxUserFontSet::UserFontCache::Entry::KeyEquals(
|
|||
if (mFontEntry->SlantStyle() != fe->SlantStyle() ||
|
||||
mFontEntry->Weight() != fe->Weight() ||
|
||||
mFontEntry->Stretch() != fe->Stretch() ||
|
||||
mFontEntry->mRangeFlags != fe->mRangeFlags ||
|
||||
mFontEntry->mFeatureSettings != fe->mFeatureSettings ||
|
||||
mFontEntry->mVariationSettings != fe->mVariationSettings ||
|
||||
mFontEntry->mLanguageOverride != fe->mLanguageOverride ||
|
||||
|
|
|
@ -436,7 +436,7 @@ class gfxUserFontSet {
|
|||
aKey->mFontEntry->Weight().AsScalar(),
|
||||
aKey->mFontEntry->SlantStyle().AsScalar(),
|
||||
aKey->mFontEntry->Stretch().AsScalar(),
|
||||
aKey->mFontEntry->mLanguageOverride);
|
||||
aKey->mFontEntry->mRangeFlags, aKey->mFontEntry->mLanguageOverride);
|
||||
}
|
||||
|
||||
enum { ALLOW_MEMMOVE = false };
|
||||
|
|
Загрузка…
Ссылка в новой задаче