Chromium/skia's implementation of canvas getImageData() does not unpremultiply colour values correctly. In particular, LayoutTests/fast/canvas/canvas-getImageData.html requires that premultiplied values retrieved from the canvas are accurately divided by alpha, but not rounded. See http://crbug.com/22700
Created attachment 41958 [details] Fix for data getImageData()'s unpremultiply
Comment on attachment 41958 [details] Fix for data getImageData()'s unpremultiply > Index: WebCore/platform/graphics/skia/ImageBufferSkia.cpp > + destPixel[1] = a ? SkColorGetG(color) * 255 / a : 0, I think you wanted a ";" here instead of a ",".
Created attachment 41990 [details] Fix typo
Comment on attachment 41990 [details] Fix typo Rejecting patch 41990 from commit-queue. Failed to run "['/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/svn-apply', '--reviewer', 'Dmitri Titov', '--force']" exit_code: 1 patching file WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file WebCore/platform/graphics/skia/ImageBufferSkia.cpp Hunk #1 FAILED at 164. 1 out of 1 hunk FAILED -- saving rejects to file WebCore/platform/graphics/skia/ImageBufferSkia.cpp.rej
Looks like this was landed as r50408 but just not closed.