[skia] call readPixels on canvas instead of device (will be private on device soon) and check for error
Created attachment 113166 [details] Patch
Comment on attachment 113166 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=113166&action=review OK. r=me > Source/WebCore/platform/graphics/skia/ImageBufferSkia.cpp:239 > unsigned destBytesPerRow = 4 * rect.width(); Nit: This line could be moved below the readPixels() call (not new to this patch, though).
Created attachment 113168 [details] Patch
moved computation of destinationRowBytes to after failure-check on readPixels.
Comment on attachment 113168 [details] Patch Looks good. r=me
Comment on attachment 113168 [details] Patch Clearing flags on attachment: 113168 Committed r98969: <http://trac.webkit.org/changeset/98969>
All reviewed patches have been landed. Closing bug.