Bug 100940

Summary: Update average StylePropertySet size estimation.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, macpherson, menard, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Description Andreas Kling 2012-11-01 03:53:33 PDT
Because reasons.
Comment 1 Andreas Kling 2012-11-01 04:00:56 PDT
Created attachment 171808 [details]
Patch
Comment 2 Antti Koivisto 2012-11-01 04:09:11 PDT
Comment on attachment 171808 [details]
Patch

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

> Source/WebCore/css/StylePropertySet.cpp:1136
> -    return sizeof(StylePropertySet) + sizeof(CSSProperty) * 2;
> +    return immutableStylePropertySetSize(2);

Please find a less confusing name for this function.
Comment 3 Andreas Kling 2012-11-01 04:33:12 PDT
Committed r133148: <http://trac.webkit.org/changeset/133148>