RESOLVED FIXED92276
fix test in beginLayerClippedToImage to check for immutability if we're going to do a shallow-copy
https://bugs.webkit.org/show_bug.cgi?id=92276
Summary fix test in beginLayerClippedToImage to check for immutability if we're going...
Mike Reed
Reported 2012-07-25 12:16:56 PDT
fix test in beginLayerClippedToImage to check for immutability if we're going to do a shallow-copy
Attachments
Patch (2.51 KB, patch)
2012-07-25 12:19 PDT, Mike Reed
no flags
Patch (3.01 KB, patch)
2012-07-25 12:38 PDT, Mike Reed
no flags
Mike Reed
Comment 1 2012-07-25 12:19:51 PDT
Stephen White
Comment 2 2012-07-25 12:30:57 PDT
Comment on attachment 154414 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154414&action=review Please clean up the ChangeLog. > Source/WebCore/ChangeLog:8 > + Additional information of the change such as approach, rationale. Please add per-function descriptions below (OOPS!). You'll need to delete this line, or replace it with what it asks for. > Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp:292 > + else { > + // We need to make a deep-copy of the pixels themselves, so they don't > + // change on us between now and when we want to apply them in restore() > + bitmap->copyTo(&m_state->m_imageBufferClip, SkBitmap::kARGB_8888_Config); If we need this to work on the GPU at some point, we should probably try a deepCopyTo() first.
Mike Reed
Comment 3 2012-07-25 12:38:13 PDT
Mike Reed
Comment 4 2012-07-25 12:38:32 PDT
update CL comments
Stephen White
Comment 5 2012-07-25 12:39:38 PDT
Comment on attachment 154417 [details] Patch OK, thanks for the cleanup. r=me
WebKit Review Bot
Comment 6 2012-07-25 14:47:42 PDT
Comment on attachment 154417 [details] Patch Clearing flags on attachment: 154417 Committed r123665: <http://trac.webkit.org/changeset/123665>
WebKit Review Bot
Comment 7 2012-07-25 14:47:45 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.