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

Unified Diff: third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp

Issue 2259173002: Fix style errors in core/html/shadow/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/shadow/DateTimeFieldElement.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp b/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp
index 49ed736f024506fd35942f71f60b3c02fc764116..dd47b86b89dd22839ead171481ad490c634381f9 100644
--- a/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp
@@ -220,7 +220,7 @@ void DateTimeFieldElement::updateVisibleValue(EventBehavior eventBehavior)
{
Text* const textNode = toText(firstChild());
const String newVisibleValue = visibleValue();
- ASSERT(newVisibleValue.length() > 0);
+ DCHECK_GT(newVisibleValue.length(), 0u);
if (textNode->wholeText() == newVisibleValue)
return;

Powered by Google App Engine
This is Rietveld 408576698