DescriptionClear the SharedBuffer when clearing the image
Previously, in the case of the image failing to be decoded, the buffer
was cleared because error() was called. This was changed in the
following patch:
https://chromium.googlesource.com/chromium/src/+/61e34ff7dd4ac48b8c4275eb3f541ebfb8a50266%5E%21/
The patch changes it so that only clear() is called, which does not
clear the m_data buffer. This patch changes clear() to also clear the
buffer.
BUG=
Committed: https://crrev.com/d6ae2381c93fcc66c72452327c0b55e79eca228f
Cr-Commit-Position: refs/heads/master@{#399668}
Patch Set 1 #
Messages
Total messages: 17 (7 generated)
|