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

Unified Diff: third_party/WebKit/Source/platform/LengthFunctions.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/Length.cpp ('k') | third_party/WebKit/Source/platform/SharedBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/LengthFunctions.cpp
diff --git a/third_party/WebKit/Source/platform/LengthFunctions.cpp b/third_party/WebKit/Source/platform/LengthFunctions.cpp
index fa2ab12a2d6e044cc0d535c3bc671fa13416d3a0..54b1a4203ba0cebba7d3bb877b1e2d9382314585 100644
--- a/third_party/WebKit/Source/platform/LengthFunctions.cpp
+++ b/third_party/WebKit/Source/platform/LengthFunctions.cpp
@@ -51,10 +51,10 @@ float FloatValueForLength(const Length& length, float maximum_value) {
case kDeviceWidth:
case kDeviceHeight:
case kMaxSizeNone:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
@@ -80,10 +80,10 @@ LayoutUnit MinimumValueForLength(const Length& length,
case kDeviceWidth:
case kDeviceHeight:
case kMaxSizeNone:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
@@ -111,10 +111,10 @@ LayoutUnit ValueForLength(const Length& length, LayoutUnit maximum_value) {
case kDeviceWidth:
case kDeviceHeight:
case kMaxSizeNone:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
« no previous file with comments | « third_party/WebKit/Source/platform/Length.cpp ('k') | third_party/WebKit/Source/platform/SharedBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698