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

Unified Diff: third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp

Issue 2097313002: Replace ASSERT macros with DCHECK, etc. in core/html/forms/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/forms/BaseButtonInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
index fa5aee30a11db28e0d4cdae599841ce5ffb9e399..94bd696cf4a936875f4c9c2e213634404b906067 100644
--- a/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
@@ -62,7 +62,7 @@ InputTypeView* BaseButtonInputType::createView()
void BaseButtonInputType::createShadowSubtree()
{
- ASSERT(element().userAgentShadowRoot());
+ DCHECK(element().userAgentShadowRoot());
element().userAgentShadowRoot()->appendChild(Text::create(element().document(), displayValue()));
}

Powered by Google App Engine
This is Rietveld 408576698