Bug 167543

Summary: REGRESSION(r196383): Automatic shrink-to-fit of RuleSet no longer works.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, koivisto
Priority: P2 Keywords: Performance
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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.