Bug 40333

Summary: [GTK] Convert WebKitWebView's private draggingDataObjects member to a pointer
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, eric, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 30623    
Attachments:
Description Flags
Convert draggingDataObjects to a pointer
none
Alternative approach using placement new
none
Patch where delete is done in finalize instead of dispose none

Description Martin Robinson 2010-06-08 14:14:37 PDT
Converting this member to a pointer will allow for calling constructor and destructor of this HashMap. Previously a 0'd memory region was used for this object.
Comment 1 Martin Robinson 2010-06-08 14:19:33 PDT
Created attachment 58185 [details]
Convert draggingDataObjects to a pointer
Comment 2 Martin Robinson 2010-06-09 14:10:49 PDT
Created attachment 58295 [details]
Alternative approach using placement new
Comment 3 Martin Robinson 2010-06-29 09:23:40 PDT
Comment on attachment 58185 [details]
Convert draggingDataObjects to a pointer

It seems like the pointer approach is preferred, so I'm re-enabling the review? flag on it.
Comment 4 Xan Lopez 2010-06-30 13:06:47 PDT
Comment on attachment 58185 [details]
Convert draggingDataObjects to a pointer

Looks good.
Comment 5 Martin Robinson 2010-06-30 22:45:18 PDT
Committed r62226: <http://trac.webkit.org/changeset/62226>
Comment 6 WebKit Review Bot 2010-06-30 23:13:04 PDT
http://trac.webkit.org/changeset/62226 might have broken GTK Linux 32-bit Release
Comment 7 Martin Robinson 2010-06-30 23:25:19 PDT
Reverted r62226 for reason:

This change caused 13 new crashers.

Committed r62230: <http://trac.webkit.org/changeset/62230>
Comment 8 Martin Robinson 2010-07-01 08:43:28 PDT
Created attachment 60253 [details]
Patch where delete is done in finalize instead of dispose
Comment 9 Xan Lopez 2010-07-01 08:57:43 PDT
Comment on attachment 60253 [details]
Patch where delete is done in finalize instead of dispose

13 crashers!
Comment 10 Martin Robinson 2010-07-01 09:03:12 PDT
Comment on attachment 60253 [details]
Patch where delete is done in finalize instead of dispose

Clearing flags on attachment: 60253

Committed r62262: <http://trac.webkit.org/changeset/62262>
Comment 11 Martin Robinson 2010-07-01 09:03:18 PDT
All reviewed patches have been landed.  Closing bug.