This bug causes logging an error message saying "CGImageSourceUpdateData image source was already finalized". When refactoring the code of ImageSource::setData(SharedBuffer* data), I moved its code to ImageDecoder::setData(SharedBuffer* data). And as a preparation for the asynchronous image decoding work, I added another ImageDecoder::setData(CFDataRef data), and I intended to call it from ImageDecoder::setData(SharedBuffer* data) for now and then I am going to call it also from the asynchronous image decoding code path. The bug is I left the old CGImageSourceUpdateData() in ImageDecoder::setData(SharedBuffer* data) after calling ImageDecoder::setData(CFDataRef data).
<rdar://problem/25427613>
Created attachment 275157 [details] Patch
Comment on attachment 275157 [details] Patch Clearing flags on attachment: 275157 Committed r198818: <http://trac.webkit.org/changeset/198818>
All reviewed patches have been landed. Closing bug.