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

Unified Diff: third_party/WebKit/Source/core/html/forms/DateInputType.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/DateInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/DateInputType.cpp b/third_party/WebKit/Source/core/html/forms/DateInputType.cpp
index 71bbb9ba400c9232d9be695c47912738516fda66..7802824584ecd8abd2daf6d46812b7b4e6004115 100644
--- a/third_party/WebKit/Source/core/html/forms/DateInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/DateInputType.cpp
@@ -76,14 +76,14 @@ StepRange DateInputType::createStepRange(AnyStepHandling anyStepHandling) const
bool DateInputType::parseToDateComponentsInternal(const String& string, DateComponents* out) const
{
- ASSERT(out);
+ DCHECK(out);
unsigned end;
return out->parseDate(string, 0, end) && end == string.length();
}
bool DateInputType::setMillisecondToDateComponents(double value, DateComponents* date) const
{
- ASSERT(date);
+ DCHECK(date);
return date->setMillisecondsSinceEpochForDate(value);
}

Powered by Google App Engine
This is Rietveld 408576698