author | Carsten "Tomcat" Book <cbook@mozilla.com> |
Mon, 08 May 2017 10:49:28 +0200 | |
changeset 357085 | c4e9e9eab87d0bbadba8151731eabf0a7788f877 |
parent 357084 | f9478c461818ee382e3a659b2af2518bc329b027 |
child 357086 | 0788c41e592b476d8261074ff8335e975a713b3a |
push id | 31782 |
push user | kwierso@gmail.com |
push date | Mon, 08 May 2017 23:07:35 +0000 |
treeherder | mozilla-central@b21b974d60d3 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1362120 |
milestone | 55.0a1 |
backs out | 50273abf9e11db0cbe8c87a28e81bc5354533bd8 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
gfx/thebes/gfxPlatform.cpp | file | annotate | diff | comparison | revisions | |
layout/style/nsCSSParser.cpp | file | annotate | diff | comparison | revisions |
--- a/gfx/thebes/gfxPlatform.cpp +++ b/gfx/thebes/gfxPlatform.cpp @@ -1607,19 +1607,17 @@ gfxPlatform::UseCmapsDuringSystemFallbac bool gfxPlatform::OpenTypeSVGEnabled() { if (mOpenTypeSVGEnabled == UNINITIALIZED_VALUE) { mOpenTypeSVGEnabled = Preferences::GetBool(GFX_PREF_OPENTYPE_SVG, false); } - return mOpenTypeSVGEnabled > 0 || - // is e10s parent process: - (XRE_IsParentProcess() && BrowserTabsRemoteAutostart()); + return mOpenTypeSVGEnabled > 0; } uint32_t gfxPlatform::WordCacheCharLimit() { if (mWordCacheCharLimit == UNINITIALIZED_VALUE) { mWordCacheCharLimit = Preferences::GetInt(GFX_PREF_WORD_CACHE_CHARLIMIT, 32);
--- a/layout/style/nsCSSParser.cpp +++ b/layout/style/nsCSSParser.cpp @@ -19,18 +19,16 @@ #include <algorithm> // for std::stable_sort #include <limits> // for std::numeric_limits #include "nsAlgorithm.h" #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" #include "mozilla/css/ImportRule.h" #include "nsCSSRules.h" #include "nsCSSFontFaceRule.h" #include "mozilla/css/NameSpaceRule.h" #include "nsTArray.h" @@ -17909,24 +17907,18 @@ CSSParserImpl::IsValueValidForProperty(c // Recycling of parser implementation objects 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, "layout.css.prefixes.device-pixel-ratio-webkit"); Preferences::AddBoolVarCache(&sMozGradientsEnabled, "layout.css.prefixes.gradients"); Preferences::AddBoolVarCache(&sControlCharVisibility, "layout.css.control-characters.visible");