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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontDescription.cpp

Issue 2807913002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts 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
Index: third_party/WebKit/Source/platform/fonts/FontDescription.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontDescription.cpp b/third_party/WebKit/Source/platform/fonts/FontDescription.cpp
index 8ac4079d571df9ee2dcf77dfff662d4ecddecda8..d2208ae6d74bf80916a4d8f156f57ae35f3417ff 100644
--- a/third_party/WebKit/Source/platform/fonts/FontDescription.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontDescription.cpp
@@ -126,7 +126,7 @@ FontWeight FontDescription::lighterWeight(FontWeight weight) {
case FontWeight900:
return FontWeight700;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return FontWeightNormal;
}
@@ -147,7 +147,7 @@ FontWeight FontDescription::bolderWeight(FontWeight weight) {
case FontWeight900:
return FontWeight900;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return FontWeightNormal;
}

Powered by Google App Engine
This is Rietveld 408576698