Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Issue 2060193002: Clear the SharedBuffer when clearing the image (Closed)

Created:
4 years, 6 months ago by robertn
Modified:
4 years, 6 months ago
Reviewers:
sof, Nate Chapin
CC:
chromium-reviews, tyoshino+watch_chromium.org, Yoav Weiss, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M third_party/WebKit/Source/core/fetch/ImageResource.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
robertn
4 years, 6 months ago (2016-06-13 10:56:57 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2060193002/1
4 years, 6 months ago (2016-06-13 11:15:42 UTC) #5
sof
(started a cq dryrun.)
4 years, 6 months ago (2016-06-13 11:16:22 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-13 14:36:01 UTC) #8
Nate Chapin
Oops...good catch. LGTM. Is there a bug/test associated with this?
4 years, 6 months ago (2016-06-13 16:44:27 UTC) #9
robertn
On 2016/06/13 16:44:27, Nate Chapin wrote: > Oops...good catch. LGTM. Is there a bug/test associated ...
4 years, 6 months ago (2016-06-14 08:24:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2060193002/1
4 years, 6 months ago (2016-06-14 08:25:26 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-14 08:28:59 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-14 08:29:06 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 08:30:57 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d6ae2381c93fcc66c72452327c0b55e79eca228f
Cr-Commit-Position: refs/heads/master@{#399668}

Powered by Google App Engine
This is Rietveld 408576698