diff options
Diffstat (limited to 'layout/style/nsLayoutStylesheetCache.cpp')
-rw-r--r-- | layout/style/nsLayoutStylesheetCache.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layout/style/nsLayoutStylesheetCache.cpp b/layout/style/nsLayoutStylesheetCache.cpp index 1905d8c5cd..7c09202e6a 100644 --- a/layout/style/nsLayoutStylesheetCache.cpp +++ b/layout/style/nsLayoutStylesheetCache.cpp @@ -380,8 +380,6 @@ nsLayoutStylesheetCache::For(StyleBackendType aType) // Preferences::RegisterCallback(&DependentPrefChanged, // "layout.css.example-pref.enabled"); Preferences::RegisterCallback(&DependentPrefChanged, - "layout.css.grid.enabled"); - Preferences::RegisterCallback(&DependentPrefChanged, "dom.details_element.enabled"); } @@ -553,7 +551,7 @@ nsLayoutStylesheetCache::DependentPrefChanged(const char* aPref, void* aData) InvalidateSheet(gStyleCache_Gecko ? &gStyleCache_Gecko->sheet_ : nullptr, \ gStyleCache_Servo ? &gStyleCache_Servo->sheet_ : nullptr); - INVALIDATE(mUASheet); // for layout.css.grid.enabled + // INVALIDATE(mUASheet); // for layout.css.example-pref.enabled INVALIDATE(mHTMLSheet); // for dom.details_element.enabled #undef INVALIDATE |