Chromium Code Reviews| 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(); |