[Webkit-unassigned] [Bug 171211] Image decoders must have private constructors to avoid refcount misuse: ASSERTION FAILED: m_deletionHasBegun when destroying ImageDecoder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 24 00:32:39 PDT 2017


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

--- Comment #4 from Miguel Gomez <magomez at igalia.com> ---
Weird, I didn't know ICOImageDecoder would use a PNGImageDecoder inside. Anyway, we already have a create function in ImageDecoder that returns RefPtr, but ICOImageDecoder is not using it at the moment, but directly instantiates the PNGImageDecoder.

Changing ICOImageDecoder to use ImageDecoder::create shouldn't be too complicated. I'll give it a look as soon as I can.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170424/4254f027/attachment-0001.html>


More information about the webkit-unassigned mailing list