Title: [211335] trunk/Source/WebCore
- Revision
- 211335
- Author
- akl...@apple.com
- Date
- 2017-01-28 04:16:23 -0800 (Sat, 28 Jan 2017)
Log Message
REGRESSION(r196383): Automatic shrink-to-fit of RuleSet no longer works.
<https://webkit.org/b/167543>
Reviewed by Antti Koivisto.
Re-enable the automatic shrink-to-fit optimization in RuleSet.
This was disabled accidentally, which I discovered while investigating
the memory footprint of extension stylesheets.
* css/RuleSet.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (211334 => 211335)
--- trunk/Source/WebCore/ChangeLog 2017-01-28 12:04:43 UTC (rev 211334)
+++ trunk/Source/WebCore/ChangeLog 2017-01-28 12:16:23 UTC (rev 211335)
@@ -1,3 +1,16 @@
+2017-01-28 Andreas Kling <akl...@apple.com>
+
+ REGRESSION(r196383): Automatic shrink-to-fit of RuleSet no longer works.
+ <https://webkit.org/b/167543>
+
+ Reviewed by Antti Koivisto.
+
+ Re-enable the automatic shrink-to-fit optimization in RuleSet.
+ This was disabled accidentally, which I discovered while investigating
+ the memory footprint of extension stylesheets.
+
+ * css/RuleSet.h:
+
2017-01-28 Antti Koivisto <an...@apple.com>
Give scripts 'high' load priority
Modified: trunk/Source/WebCore/css/RuleSet.h (211334 => 211335)
--- trunk/Source/WebCore/css/RuleSet.h 2017-01-28 12:04:43 UTC (rev 211334)
+++ trunk/Source/WebCore/css/RuleSet.h 2017-01-28 12:16:23 UTC (rev 211335)
@@ -210,7 +210,7 @@
RuleDataVector m_universalRules;
Vector<StyleRulePage*> m_pageRules;
unsigned m_ruleCount { 0 };
- bool m_autoShrinkToFitEnabled { false };
+ bool m_autoShrinkToFitEnabled { true };
RuleFeatureSet m_features;
Vector<RuleSetSelectorPair> m_regionSelectorsAndRuleSets;
};
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes