Bug 96941

Summary: Make CSS.PrefixUsage histogram smaller to save memory
Product: WebKit Reporter: Tony Chang <tony>
Component: New BugsAssignee: Tony Chang <tony>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, cmarcelo, jamesr, macpherson, menard, ojan, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Tony Chang 2012-09-17 12:24:31 PDT
Make CSS.PrefixUsage histogram smaller to save memory
Comment 1 Tony Chang 2012-09-17 12:29:16 PDT
Created attachment 164439 [details]
Patch
Comment 2 Tony Chang 2012-09-17 12:30:02 PDT
jar was unhappy about the memory usage of this histogram. This improves on the situation.
Comment 3 Ojan Vafai 2012-09-17 12:31:51 PDT
Comment on attachment 164439 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=164439&action=review

> Source/WebCore/css/CSSParser.cpp:10421
> +    static const int CSSPropertyHistogramSize = numCSSProperties;

cssPropertyHistogramSize ?
Comment 4 Tony Chang 2012-09-17 13:38:03 PDT
Created attachment 164447 [details]
Patch for landing
Comment 5 WebKit Review Bot 2012-09-17 14:10:40 PDT
Comment on attachment 164447 [details]
Patch for landing

Clearing flags on attachment: 164447

Committed r128804: <http://trac.webkit.org/changeset/128804>
Comment 6 WebKit Review Bot 2012-09-17 14:10:44 PDT
All reviewed patches have been landed.  Closing bug.