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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics Created 3 years, 8 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
Index: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
index 4cbff27502a3318c4a451619494174630770fcd8..d098b1d68149436357913bb77fd3dd311d0be989 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
@@ -65,7 +65,7 @@ class GraphicsLayerTest : public testing::Test {
m_clipLayer->platformLayer());
m_platformLayer = m_graphicsLayer->platformLayer();
m_layerTreeView = WTF::wrapUnique(new WebLayerTreeViewImplForTesting);
- ASSERT(m_layerTreeView);
+ DCHECK(m_layerTreeView);
m_layerTreeView->setRootLayer(*m_clipLayer->platformLayer());
m_layerTreeView->registerViewportLayers(
m_scrollElasticityLayer->platformLayer(), m_clipLayer->platformLayer(),

Powered by Google App Engine
This is Rietveld 408576698