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

Unified Diff: third_party/WebKit/Source/platform/DateComponents.cpp

Issue 2849903002: Replace ASSERT_NOT_REACHED with NOTREACHED in platform/ (Closed)
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/platform/Crypto.cpp ('k') | third_party/WebKit/Source/platform/Decimal.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/DateComponents.cpp
diff --git a/third_party/WebKit/Source/platform/DateComponents.cpp b/third_party/WebKit/Source/platform/DateComponents.cpp
index 945063ad540f536de225f07e22f19e47653400b7..5ffb9612626b747d50dbae2f2e9394d4ede13443 100644
--- a/third_party/WebKit/Source/platform/DateComponents.cpp
+++ b/third_party/WebKit/Source/platform/DateComponents.cpp
@@ -664,7 +664,7 @@ double DateComponents::MillisecondsSinceEpoch() const {
case kInvalid:
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return InvalidMilliseconds();
}
@@ -683,7 +683,7 @@ String DateComponents::ToStringForTime(SecondFormat format) const {
switch (effective_format) {
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
// Fallback to None.
case kNone:
return String::Format("%02d:%02d", hour_, minute_);
@@ -714,7 +714,7 @@ String DateComponents::ToString(SecondFormat format) const {
case kInvalid:
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return String("(Invalid DateComponents)");
}
« no previous file with comments | « third_party/WebKit/Source/platform/Crypto.cpp ('k') | third_party/WebKit/Source/platform/Decimal.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698