Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(34)

Issue 1212483002: ASSERT -> RELEASE_ASSERT for investigation of issue 466793 (Closed)

Created:
4 years, 10 months ago by Justin Novosad
Modified:
4 years, 10 months ago
CC:
blink-reviews, krit, drott+blinkwatch_chromium.org, Rik, dshwang, jbroman, danakj, pdr+graphicswatchlist_chromium.org, f(malita), Stephen Chennney, rwlbuis
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

ASSERT -> RELEASE_ASSERT for investigation of issue 466793 The crash dump attached to isse 466793 suggests that we sometimes retain a references to destroyed instances of Canvas2DLayerBridge in Canvas2DLayerManager. This crash is extremely rare and we have no repro steps. This change substitutes an assert for a release_assert in order to trap crash dumps at the time the destructor is called to help investigate conditions under which the invalid state is generated. BUG=466793 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197851

Patch Set 1 #

Total comments: 1

Patch Set 2 : use release_assert #

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

Depends on Patchset:

Messages

Total messages: 9 (3 generated)
Justin Novosad
PTAL
4 years, 10 months ago (2015-06-25 15:53:37 UTC) #2
Stephen Chennney
Drive by. https://codereview.chromium.org/1212483002/diff/1/Source/platform/graphics/Canvas2DLayerBridge.cpp File Source/platform/graphics/Canvas2DLayerBridge.cpp (left): https://codereview.chromium.org/1212483002/diff/1/Source/platform/graphics/Canvas2DLayerBridge.cpp#oldcode122 Source/platform/graphics/Canvas2DLayerBridge.cpp:122: ASSERT(!Canvas2DLayerManager::get().isInList(this)); Why not just change this to ...
4 years, 10 months ago (2015-06-25 16:26:24 UTC) #4
Justin Novosad
On 2015/06/25 16:26:24, Stephen Chenney wrote: > Drive by. > > https://codereview.chromium.org/1212483002/diff/1/Source/platform/graphics/Canvas2DLayerBridge.cpp > File Source/platform/graphics/Canvas2DLayerBridge.cpp ...
4 years, 10 months ago (2015-06-25 17:06:02 UTC) #5
Stephen White
LGTM
4 years, 10 months ago (2015-06-25 17:41:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212483002/20001
4 years, 10 months ago (2015-06-25 17:42:26 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2015-06-25 20:13: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=197851

Powered by Google App Engine
This is Rietveld 408576698