[Webkit-unassigned] [Bug 87938] [GTK] Avoid unnecessary heap allocations during drag and drop operations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 1 08:59:59 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87938





--- Comment #8 from Martin Robinson <mrobinson at webkit.org>  2012-06-01 08:59:59 PST ---
(In reply to comment #7)
> DragData has a small size so I don't think there's any risk in allocate it on the stack, and it's what all other ports do after all.

It still seems like this is less clean than the old approach.  An allocation on the heap isn't such a terrible thing, but even so it can be eliminated by simply caching the DragData in the DragAndDropHelper.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list