Bug 1436362 - Remove outdated code from when the font-feature-settings and font-language-override descriptors were -moz-prefixed. r=jwatt

This commit is contained in:
Jonathan Kew 2018-02-08 08:49:06 +00:00
Родитель 0c305c1eaa
Коммит c394463ec3
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -616,12 +616,6 @@ nsCSSProps::LookupFontDesc(const nsACString& aFontDesc)
if (which == eCSSFontDesc_Display && !StylePrefs::sFontDisplayEnabled) {
which = eCSSFontDesc_UNKNOWN;
} else if (which == eCSSFontDesc_UNKNOWN) {
// check for unprefixed font-feature-settings/font-language-override
nsAutoCString prefixedProp;
prefixedProp.AppendLiteral("-moz-");
prefixedProp.Append(aFontDesc);
which = nsCSSFontDesc(gFontDescTable->Lookup(prefixedProp));
}
return which;
}
@ -634,12 +628,6 @@ nsCSSProps::LookupFontDesc(const nsAString& aFontDesc)
if (which == eCSSFontDesc_Display && !StylePrefs::sFontDisplayEnabled) {
which = eCSSFontDesc_UNKNOWN;
} else if (which == eCSSFontDesc_UNKNOWN) {
// check for unprefixed font-feature-settings/font-language-override
nsAutoString prefixedProp;
prefixedProp.AppendLiteral("-moz-");
prefixedProp.Append(aFontDesc);
which = nsCSSFontDesc(gFontDescTable->Lookup(prefixedProp));
}
return which;
}