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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp

Issue 2770123003: Replace ASSERT with DCHECK in core/layout/ excluding subdirs (Closed)
Patch Set: Split some DCHECKs and add DCHECK_ops wherever possible 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/core/layout/LayoutObjectTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp b/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
index 5fcadc5dc10003e774c206c595416f4854b8c3fa..4408a335a6f2e03b18b0b02ade5cfd6e8bc9b2b4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
@@ -21,9 +21,9 @@ class LayoutObjectTest : public RenderingTest {
TEST_F(LayoutObjectTest, LayoutDecoratedNameCalledWithPositionedObject) {
setBodyInnerHTML("<div id='div' style='position: fixed'>test</div>");
Element* div = document().getElementById(AtomicString("div"));
- ASSERT(div);
+ DCHECK(div);
LayoutObject* obj = div->layoutObject();
- ASSERT(obj);
+ DCHECK(obj);
EXPECT_STREQ("LayoutBlockFlow (positioned)",
obj->decoratedName().ascii().data());
}

Powered by Google App Engine
This is Rietveld 408576698