[Webkit-unassigned] [Bug 62642] [Efl] Add EflOwnPtr to wtf
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 15 07:29:06 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62642
--- Comment #13 from Eric Seidel <eric at webkit.org> 2011-06-15 07:29:06 PST ---
(From update of attachment 97131)
View in context: https://bugs.webkit.org/attachment.cgi?id=97131&action=review
> Source/JavaScriptCore/wtf/efl/EflOwnPtr.h:39
> +template <> void freeOwnedEflPtr<Evas_Object>(Evas_Object*);
Can't we just add this one function to OwnPtr and then OwnPtr will work correctly for EFL objects?
> Source/JavaScriptCore/wtf/efl/EflOwnPtr.h:132
> +template <typename T> inline void freeOwnedEflPtr(T* ptr)
> +{
> + std::free(ptr);
> +}
I think we just need this type specialization for OwnPtr and then OwnPtr will work like a charm for what you want.
--
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