Bug 26033

Summary: OptionElement uses more memory than needed
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: WebCore Misc.Assignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: staikos
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Initial patch staikos: review+

Nikolas Zimmermann
Reported 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 :-)
Attachments
Initial patch (8.21 KB, patch)
2009-05-26 16:04 PDT, Nikolas Zimmermann
staikos: review+
Nikolas Zimmermann
Comment 1 2009-05-26 16:04:40 PDT
Created attachment 30685 [details] Initial patch No regressions.
Nikolas Zimmermann
Comment 2 2009-05-27 05:25:34 PDT
Landed in r44186.
Note You need to log in before you can comment on or make changes to this bug.