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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutSearchField.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/LayoutSearchField.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutSearchField.cpp b/third_party/WebKit/Source/core/layout/LayoutSearchField.cpp
index 55ff56901ae214e882ea03b618c6d5d72144c060..2a2b1576c1dc470edc5a665b83f1d6ff2a892f82 100644
--- a/third_party/WebKit/Source/core/layout/LayoutSearchField.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutSearchField.cpp
@@ -37,7 +37,7 @@ using namespace HTMLNames;
LayoutSearchField::LayoutSearchField(HTMLInputElement* element)
: LayoutTextControlSingleLine(element) {
- ASSERT(element->type() == InputTypeNames::search);
+ DCHECK_EQ(element->type(), InputTypeNames::search);
}
LayoutSearchField::~LayoutSearchField() {}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutSlider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698