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

Unified Diff: third_party/WebKit/Source/core/html/HTMLDialogElement.h

Issue 2258033002: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. Created 4 years, 4 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/html/HTMLDialogElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLDialogElement.h b/third_party/WebKit/Source/core/html/HTMLDialogElement.h
index 18baedf40cfd26a37945eb53825432bb84e8d4c8..cdd96944d3dde33bd3405c6ee04634070b4907c6 100644
--- a/third_party/WebKit/Source/core/html/HTMLDialogElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLDialogElement.h
@@ -52,7 +52,7 @@ public:
CenteringMode getCenteringMode() const { return m_centeringMode; }
LayoutUnit centeredPosition() const
{
- ASSERT(m_centeringMode == Centered);
+ DCHECK_EQ(m_centeringMode, Centered);
return m_centeredPosition;
}
void setCentered(LayoutUnit centeredPosition);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLDialogElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698