Bug 26031

Summary: InputElement still 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 14:50:11 PDT
Instead of storing Element and InputElement pointers in InputElementData these pointers can just be provided by the callee of the static functions. No need to waste memory for that. OptionElement/ScriptElement/.. have the same problem. I'm going to fix them all.
Attachments
Initial patch (27.01 KB, patch)
2009-05-26 15:02 PDT, Nikolas Zimmermann
staikos: review+
Nikolas Zimmermann
Comment 1 2009-05-26 15:02:28 PDT
Created attachment 30684 [details] Initial patch No regressions.
Nikolas Zimmermann
Comment 2 2009-05-27 05:25:51 PDT
Landed in r44187.
Note You need to log in before you can comment on or make changes to this bug.