зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 50273abf9e11 (bug 1362120) for causing various reftest and browser chrome failures in different tests
This commit is contained in:
Родитель
b1c944ace9
Коммит
b302544548
|
@ -1612,9 +1612,7 @@ gfxPlatform::OpenTypeSVGEnabled()
|
|||
Preferences::GetBool(GFX_PREF_OPENTYPE_SVG, false);
|
||||
}
|
||||
|
||||
return mOpenTypeSVGEnabled > 0 ||
|
||||
// is e10s parent process:
|
||||
(XRE_IsParentProcess() && BrowserTabsRemoteAutostart());
|
||||
return mOpenTypeSVGEnabled > 0;
|
||||
}
|
||||
|
||||
uint32_t
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#include "nsCSSProps.h"
|
||||
#include "nsCSSKeywords.h"
|
||||
#include "nsCSSScanner.h"
|
||||
#include "nsIXULRuntime.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "mozilla/css/ErrorReporter.h"
|
||||
#include "mozilla/css/Loader.h"
|
||||
#include "mozilla/css/StyleRule.h"
|
||||
|
@ -17914,14 +17912,8 @@ static CSSParserImpl* gFreeList = nullptr;
|
|||
/* static */ void
|
||||
nsCSSParser::Startup()
|
||||
{
|
||||
const bool isE10sParent = XRE_IsParentProcess() && BrowserTabsRemoteAutostart();
|
||||
|
||||
if (isE10sParent) {
|
||||
sOpentypeSVGEnabled = true;
|
||||
} else {
|
||||
Preferences::AddBoolVarCache(&sOpentypeSVGEnabled,
|
||||
"gfx.font_rendering.opentype_svg.enabled");
|
||||
}
|
||||
Preferences::AddBoolVarCache(&sOpentypeSVGEnabled,
|
||||
"gfx.font_rendering.opentype_svg.enabled");
|
||||
Preferences::AddBoolVarCache(&sWebkitPrefixedAliasesEnabled,
|
||||
"layout.css.prefixes.webkit");
|
||||
Preferences::AddBoolVarCache(&sWebkitDevicePixelRatioEnabled,
|
||||
|
|
Загрузка…
Ссылка в новой задаче