Bug 26033 - OptionElement uses more memory than needed
Summary: OptionElement uses more memory than needed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nikolas Zimmermann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 16:03 PDT by Nikolas Zimmermann
Modified: 2009-05-27 05:25 PDT (History)
1 user (show)

See Also:


Attachments
Initial patch (8.21 KB, patch)
2009-05-26 16:04 PDT, Nikolas Zimmermann
staikos: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas Zimmermann 2009-05-26 16:03:25 PDT
Instead of storing an Element pointer in OptionElementData, just let callers of the static helper functions pass it. Saves 4 byte :-)
Comment 1 Nikolas Zimmermann 2009-05-26 16:04:40 PDT
Created attachment 30685 [details]
Initial patch

No regressions.
Comment 2 Nikolas Zimmermann 2009-05-27 05:25:34 PDT
Landed in r44186.