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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
index 923c4046074156af8a451f0de9e8cfaa757ede66..c915e17df2d5c88a884cad83464a17d13a8396e6 100644
--- a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
@@ -177,7 +177,7 @@ void HTMLDialogElement::removedFrom(ContainerNode* insertionPoint)
void HTMLDialogElement::setCentered(LayoutUnit centeredPosition)
{
- ASSERT(m_centeringMode == NeedsCentering);
+ DCHECK_EQ(m_centeringMode, NeedsCentering);
m_centeredPosition = centeredPosition;
m_centeringMode = Centered;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDialogElement.h ('k') | third_party/WebKit/Source/core/html/HTMLDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698