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

Unified Diff: Source/platform/graphics/Canvas2DLayerBridge.cpp

Issue 1212483002: ASSERT -> RELEASE_ASSERT for investigation of issue 466793 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp b/Source/platform/graphics/Canvas2DLayerBridge.cpp
index a44254c41b5313410576d54207fc2ae432a9f873..2119158a44f3aadb955a898d9d337e7157d2d2f9 100644
--- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -119,7 +119,10 @@ Canvas2DLayerBridge::Canvas2DLayerBridge(PassOwnPtr<WebGraphicsContext3DProvider
Canvas2DLayerBridge::~Canvas2DLayerBridge()
{
ASSERT(m_destructionInProgress);
- ASSERT(!Canvas2DLayerManager::get().isInList(this));
Stephen Chennney 2015/06/25 16:26:24 Why not just change this to RELEASE_ASSERT(...)?
+ if (Canvas2DLayerManager::get().isInList(this)) {
+ // TODO(junov): This can go back to being an ASSERT when done investigating crbug.com/466793
+ CRASH();
+ }
if (m_canvas)
m_canvas->setNotificationClient(nullptr);
m_layer.clear();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698