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

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: fix typo 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 a93dc01ff006573a61ec3f775d8a9a9a9c64f8aa..30ef9b2f2ecbc9039ae455561172c65c1946fda6 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 {
clip_layer_->PlatformLayer());
platform_layer_ = graphics_layer_->PlatformLayer();
layer_tree_view_ = WTF::WrapUnique(new WebLayerTreeViewImplForTesting);
- ASSERT(layer_tree_view_);
+ DCHECK(layer_tree_view_);
layer_tree_view_->SetRootLayer(*clip_layer_->PlatformLayer());
layer_tree_view_->RegisterViewportLayers(
scroll_elasticity_layer_->PlatformLayer(), clip_layer_->PlatformLayer(),

Powered by Google App Engine
This is Rietveld 408576698