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

Unified Diff: third_party/WebKit/Source/core/dom/ElementTest.cpp

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 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/dom/ElementTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ElementTest.cpp b/third_party/WebKit/Source/core/dom/ElementTest.cpp
index ae81e3e0d0ae184178ec95c7e013eef8ba9bf21a..be8af0dd3bd470742d19764cf7f99f00a544f8ac 100644
--- a/third_party/WebKit/Source/core/dom/ElementTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ElementTest.cpp
@@ -16,7 +16,7 @@ TEST(ElementTest, SupportsFocus)
{
OwnPtr<DummyPageHolder> pageHolder = DummyPageHolder::create();
Document& document = pageHolder->document();
- ASSERT(isHTMLHtmlElement(document.documentElement()));
+ DCHECK(isHTMLHtmlElement(document.documentElement()));
document.setDesignMode("on");
document.view()->updateAllLifecyclePhases();
EXPECT_TRUE(document.documentElement()->supportsFocus())
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementRareData.h ('k') | third_party/WebKit/Source/core/dom/ExecutionContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698