[webkit-help] How does ImageDecoder free the encoded data

Ariya Hidayat ariya.hidayat at gmail.com
Wed Feb 10 15:20:07 PST 2010


> In the ImageDecoder.h, it has an attribute "RefPtr<SharedBuffer>
> m_data;" which save teh encoded data (according to the comment).
> My question is when does that SharedBuffer get free? I have search the
> code in ImageDeocder and its child classes,
> I don't see anywhere that buffer is getting free.  Can someone please
> give me some pointers?

It's reference counted. You might want to read
http://webkit.org/coding/RefPtr.html.


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat


More information about the webkit-help mailing list