Changeset 211335 in webkit


Ignore:
Timestamp:
Jan 28, 2017 4:16:23 AM (7 years ago)
Author:
akling@apple.com
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:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r211334 r211335  
     12017-01-28  Andreas Kling  <akling@apple.com>
     2
     3        REGRESSION(r196383): Automatic shrink-to-fit of RuleSet no longer works.
     4        <https://webkit.org/b/167543>
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Re-enable the automatic shrink-to-fit optimization in RuleSet.
     9        This was disabled accidentally, which I discovered while investigating
     10        the memory footprint of extension stylesheets.
     11
     12        * css/RuleSet.h:
     13
    1142017-01-28  Antti Koivisto  <antti@apple.com>
    215
  • trunk/Source/WebCore/css/RuleSet.h

    r208668 r211335  
    211211    Vector<StyleRulePage*> m_pageRules;
    212212    unsigned m_ruleCount { 0 };
    213     bool m_autoShrinkToFitEnabled { false };
     213    bool m_autoShrinkToFitEnabled { true };
    214214    RuleFeatureSet m_features;
    215215    Vector<RuleSetSelectorPair> m_regionSelectorsAndRuleSets;
Note: See TracChangeset for help on using the changeset viewer.