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

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: 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
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 6d1672bbdf190b20496466242dbd6fa84232a29c..060ef8e2cc658c2ab39e77a1e91aa480d66a5ad4 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 kFontWeight900:
return kFontWeight700;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return kFontWeightNormal;
}
@@ -147,7 +147,7 @@ FontWeight FontDescription::BolderWeight(FontWeight weight) {
case kFontWeight900:
return kFontWeight900;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return kFontWeightNormal;
}

Powered by Google App Engine
This is Rietveld 408576698