[Webkit-unassigned] [Bug 62642] [Efl] Add EflOwnPtr to wtf
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 14 09:10:24 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62642
--- Comment #2 from Raphael Kubo da Costa <kubo at profusion.mobi> 2011-06-14 09:10:24 PST ---
As discussed in the bugs related to upstreaming the EFL port's DumpRenderTree (such as [1]), it would be very good to have some smart pointer class to manage our char* allocations (as well as some others such as our Evas_Object pointers).
Since the memory we use is allocated with malloc(), we cannot rely on OwnPtr, which uses operator delete(); GOwnPtr uses g_free() on its turn.
It will be possible to use it in our WebKit port itself too, shortening our error handling and memory management code quite a bit.
[1] https://bugs.webkit.org/show_bug.cgi?id=62034#c2
--
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