ImageBuffer::create can return 0, we have to review if we are checking it correctly where we call it.
Created attachment 66181 [details] Proposed patch Looked for the places where the function is used and checked the return value and in some situations also the value returned by that function if we are getting the context of the ImageBuffer.
Attachment 66181 [details] did not build on mac: Build output: http://queues.webkit.org/results/3937010
Created attachment 66203 [details] Proposed patch Fixed compilation issue in mac.
Comment on attachment 66203 [details] Proposed patch I guess you didn't want to r+ your own patch, right? :-P
(In reply to comment #4) > (From update of attachment 66203 [details]) > I guess you didn't want to r+ your own patch, right? :-P :) yeah, sorry
Comment on attachment 66203 [details] Proposed patch It's better when you request the review for your self again. Just mark it r?.
Attachment 66181 [details] did not build on chromium: Build output: http://queues.webkit.org/results/3903017
Created attachment 66205 [details] Proposed patch Fixed cr-linux compilation.
Comment on attachment 66205 [details] Proposed patch do you have any instances where this is occurring? if so, can you add a layout test.
(In reply to comment #9) > (From update of attachment 66205 [details]) > do you have any instances where this is occurring? > if so, can you add a layout test. I don't just a cleaning found by Dirk in other patch when using this function.
Comment on attachment 66205 [details] Proposed patch Needs a layout test or an explanation (in the ChangeLog) of why one isn't possible.
I doubt this bug is relevant anymore, most of the code it was changing is long gone.