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

Issue 885673005: Fixing crash during 2D canvas destruction (Closed)

Created:
5 years, 10 months ago by Justin Novosad
Modified:
5 years, 10 months ago
CC:
blink-reviews, Dominik Röttsches, krit, Rik, dshwang, jbroman, danakj, pdr+graphicswatchlist_chromium.org, f(malita), Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Fixing crash during 2D canvas destruction This change unregisters the Canvas2DLayerBridge as a notification client on the SkDeferedCanvas in order to prevent re-entry during destruction. BUG=453596 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189582

Patch Set 1 #

Patch Set 2 : add null check #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 14 (5 generated)
Justin Novosad
PTAL
5 years, 10 months ago (2015-02-03 19:08:48 UTC) #2
Ken Russell (switch to Gerrit)
LGTM
5 years, 10 months ago (2015-02-04 01:21:19 UTC) #3
Ken Russell (switch to Gerrit)
P.S. A layout test which covers this code path would be great.
5 years, 10 months ago (2015-02-04 01:21:47 UTC) #4
Justin Novosad
On 2015/02/04 01:21:47, Ken Russell wrote: > P.S. A layout test which covers this code ...
5 years, 10 months ago (2015-02-04 06:15:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885673005/20001
5 years, 10 months ago (2015-02-04 06:16:36 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41247)
5 years, 10 months ago (2015-02-04 08:43:35 UTC) #9
dshwang
https://codereview.chromium.org/885673005/diff/20001/Source/platform/graphics/Canvas2DLayerBridge.cpp File Source/platform/graphics/Canvas2DLayerBridge.cpp (right): https://codereview.chromium.org/885673005/diff/20001/Source/platform/graphics/Canvas2DLayerBridge.cpp#newcode142 Source/platform/graphics/Canvas2DLayerBridge.cpp:142: m_canvas->setNotificationClient(0); The patch demonstrates that the destructor is called ...
5 years, 10 months ago (2015-02-04 13:32:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885673005/20001
5 years, 10 months ago (2015-02-05 18:12:27 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 19:07:02 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189582

Powered by Google App Engine
This is Rietveld 408576698