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

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: use release_assert 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..628517ab9366fc0d6ae60848593901decaf31f79 100644
--- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -119,7 +119,8 @@ Canvas2DLayerBridge::Canvas2DLayerBridge(PassOwnPtr<WebGraphicsContext3DProvider
Canvas2DLayerBridge::~Canvas2DLayerBridge()
{
ASSERT(m_destructionInProgress);
- ASSERT(!Canvas2DLayerManager::get().isInList(this));
+ // TODO(junov): This can go back to a regular ASSERT once crbug.com/466793 is resolved.
+ RELEASE_ASSERT(!Canvas2DLayerManager::get().isInList(this));
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