[Webkit-unassigned] [Bug 62642] [Efl] Add EflOwnPtr to wtf

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 15 07:43:36 PDT 2011


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





--- Comment #14 from Raphael Kubo da Costa <kubo at profusion.mobi>  2011-06-15 07:43:36 PST ---
(In reply to comment #13)
> > 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.

Sorry, I don't get this part -- there is no specialization in this section, how would OwnPtr know when to call 'delete ptr' and 'free(ptr)'?

-- 
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