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

Unified Diff: third_party/WebKit/Source/platform/Length.h

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/Decimal.cpp ('k') | third_party/WebKit/Source/platform/Length.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Length.h
diff --git a/third_party/WebKit/Source/platform/Length.h b/third_party/WebKit/Source/platform/Length.h
index a6dc1701947d16d4e526f4bacfe0092c1df69303..751cec9183893fb547211a0eefdb9c8654025af5 100644
--- a/third_party/WebKit/Source/platform/Length.h
+++ b/third_party/WebKit/Source/platform/Length.h
@@ -126,7 +126,7 @@ class PLATFORM_EXPORT Length {
const Length& operator*=(float v) {
if (IsCalculated()) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return *this;
}
@@ -147,7 +147,7 @@ class PLATFORM_EXPORT Length {
int IntValue() const {
if (IsCalculated()) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
return GetIntValue();
@@ -180,7 +180,7 @@ class PLATFORM_EXPORT Length {
void SetValue(int value) {
if (IsCalculated()) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return;
}
SetValue(kFixed, value);
« no previous file with comments | « third_party/WebKit/Source/platform/Decimal.cpp ('k') | third_party/WebKit/Source/platform/Length.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698