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

Issue 901223002: Clear SkBitmap used to draw DragImage. (Closed)

Created:
5 years, 10 months ago by jbroman
Modified:
5 years, 10 months ago
CC:
blink-reviews, dcheng
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Clear SkBitmap used to draw DragImage. SkBitmap::allocN32Pixels does not initialize the pixel memory, and we may not draw to all of it (if, for example, an image decode fails, nothing will be drawn). BUG=450389 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189585

Patch Set 1 #

Total comments: 2

Patch Set 2 : fmalita change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M Source/platform/DragImage.cpp View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
jbroman
I think there are a few other places we neglect to do this (I wish ...
5 years, 10 months ago (2015-02-05 17:58:20 UTC) #2
Stephen Chennney
Can you give me access to the bug?
5 years, 10 months ago (2015-02-05 17:59:54 UTC) #3
f(malita)
lgtm https://codereview.chromium.org/901223002/diff/1/Source/platform/DragImage.cpp File Source/platform/DragImage.cpp (right): https://codereview.chromium.org/901223002/diff/1/Source/platform/DragImage.cpp#newcode100 Source/platform/DragImage.cpp:100: canvas.clear(SK_ColorTRANSPARENT); Nit: this is technically subject to the ...
5 years, 10 months ago (2015-02-05 18:02:34 UTC) #4
jbroman
https://codereview.chromium.org/901223002/diff/1/Source/platform/DragImage.cpp File Source/platform/DragImage.cpp (right): https://codereview.chromium.org/901223002/diff/1/Source/platform/DragImage.cpp#newcode100 Source/platform/DragImage.cpp:100: canvas.clear(SK_ColorTRANSPARENT); On 2015/02/05 18:02:33, f(malita) wrote: > Nit: this ...
5 years, 10 months ago (2015-02-05 18:07:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/901223002/20001
5 years, 10 months ago (2015-02-05 18:30:33 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 20:57:09 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189585

Powered by Google App Engine
This is Rietveld 408576698