Bug 100940 - Update average StylePropertySet size estimation.
Summary: Update average StylePropertySet size estimation.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-01 03:53 PDT by Andreas Kling
Modified: 2012-11-01 04:33 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.38 KB, patch)
2012-11-01 04:00 PDT, Andreas Kling
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>