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

Unified Diff: third_party/WebKit/Source/core/html/forms/DateTimeLocalInputType.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/DateTimeLocalInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/DateTimeLocalInputType.cpp b/third_party/WebKit/Source/core/html/forms/DateTimeLocalInputType.cpp
index 1e6f6a6252c1c3f75d1dd804f1f041e0a57380ee..e79df0248a42da0e50f490df1f6659db828c1857 100644
--- a/third_party/WebKit/Source/core/html/forms/DateTimeLocalInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/DateTimeLocalInputType.cpp
@@ -84,14 +84,14 @@ StepRange DateTimeLocalInputType::createStepRange(AnyStepHandling anyStepHandlin
bool DateTimeLocalInputType::parseToDateComponentsInternal(const String& string, DateComponents* out) const
{
- ASSERT(out);
+ DCHECK(out);
unsigned end;
return out->parseDateTimeLocal(string, 0, end) && end == string.length();
}
bool DateTimeLocalInputType::setMillisecondToDateComponents(double value, DateComponents* date) const
{
- ASSERT(date);
+ DCHECK(date);
return date->setMillisecondsSinceEpochForDateTimeLocal(value);
}

Powered by Google App Engine
This is Rietveld 408576698