Bug 167543 - REGRESSION(r196383): Automatic shrink-to-fit of RuleSet no longer works.
Summary: REGRESSION(r196383): Automatic shrink-to-fit of RuleSet no longer works.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: Performance
Depends on:
Blocks:
 
Reported: 2017-01-27 23:12 PST by Andreas Kling
Modified: 2017-01-28 04:17 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.25 KB, patch)
2017-01-27 23:29 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2017-01-27 23:12:50 PST
An accident in https://trac.webkit.org/changeset/196383 made it impossible to enable RuleSet's automagic shrink-to-fit mechanism.
We should fix this so that non-author style RuleSets get shrink-wrapped after adding a sheet.
This will reduce memory consumption of extension stylesheets somewhat.
Comment 1 Andreas Kling 2017-01-27 23:29:52 PST
Created attachment 300003 [details]
Patch
Comment 2 WebKit Commit Bot 2017-01-28 04:17:43 PST
Comment on attachment 300003 [details]
Patch

Clearing flags on attachment: 300003

Committed r211335: <http://trac.webkit.org/changeset/211335>
Comment 3 WebKit Commit Bot 2017-01-28 04:17:47 PST
All reviewed patches have been landed.  Closing bug.