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

Unified Diff: third_party/WebKit/Source/platform/Decimal.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/DateComponents.cpp ('k') | third_party/WebKit/Source/platform/Length.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Decimal.cpp
diff --git a/third_party/WebKit/Source/platform/Decimal.cpp b/third_party/WebKit/Source/platform/Decimal.cpp
index f8e35bf62530ec42707deb2ede29e2b6c48f5b0d..da099205ae54de0c949e12bcca8b5849d6a98d9b 100644
--- a/third_party/WebKit/Source/platform/Decimal.cpp
+++ b/third_party/WebKit/Source/platform/Decimal.cpp
@@ -107,7 +107,7 @@ SpecialValueHandler::HandleResult SpecialValueHandler::Handle() {
if (rhs_class == Decimal::EncodedData::kClassInfinity)
return kRHSIsInfinity;
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return kBothFinite;
}
@@ -119,7 +119,7 @@ Decimal SpecialValueHandler::Value() const {
return rhs_;
case kResultIsUnknown:
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return lhs_;
}
}
@@ -426,7 +426,7 @@ Decimal Decimal::operator*(const Decimal& rhs) const {
return lhs.IsZero() ? Nan() : Infinity(result_sign);
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return Nan();
}
@@ -628,7 +628,7 @@ Decimal Decimal::CompareTo(const Decimal& rhs) const {
return Zero(kPositive);
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return Nan();
}
}
@@ -829,7 +829,7 @@ Decimal Decimal::FromString(const String& str) {
return Nan();
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return Nan();
}
}
@@ -922,7 +922,7 @@ String Decimal::ToString() const {
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "";
}
« no previous file with comments | « third_party/WebKit/Source/platform/DateComponents.cpp ('k') | third_party/WebKit/Source/platform/Length.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698