[chromium] Scratch texture reused before SkBitmap releases ownership
Created attachment 136023 [details] Patch This is a repro for the scratch texture bug.
Created attachment 153576 [details] Patch
Comment on attachment 153576 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=153576&action=review R=me. Wow, GrAutoScratchTexture is way better than manual locking and unlocking. > Source/WebCore/platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp:207 > + GrAutoScratchTexture ast(gr, desc, GrContext::kExact_ScratchTexMatch); > + SkAutoTUnref<GrTexture> dest(ast.detach()); style nit: Argh, abbreviations.
Created attachment 153587 [details] Patch for landing
Thanks for the review. I've un-abbreviated the variables on landing.
Comment on attachment 153587 [details] Patch for landing Clearing flags on attachment: 153587 Committed r123260: <http://trac.webkit.org/changeset/123260>
All reviewed patches have been landed. Closing bug.