DescriptionCanvas.toDataURL to use SkBitmap::readPixels to avoid uninitialized memory
This change refactors toDataURL to make it read the canvas data into
a pre-initialized buffer to avoid accessing unitialized memory in cases
where a GPU readback fails silently.
BUG=504690
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199131
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199183
Patch Set 1 #
Total comments: 1
Patch Set 2 : rearranged #
Total comments: 1
Patch Set 3 : added toImageData #
Total comments: 1
Patch Set 4 : whoops fix #Patch Set 5 : fixed asan error in webp encoder #
Total comments: 1
Patch Set 6 : batter asan fix #
Total comments: 1
Depends on Patchset: Messages
Total messages: 24 (4 generated)
|