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

Unified Diff: third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp

Issue 2846283002: Replace ASSERT_NOT_REACHED with NOTREACHED in the rest of core/ (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/core/css/resolver/FontBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
index e4bc94bd46c65072c95c9bb1b60659ab83d42702..d62baafcc3913fb4a3014d448ee06b6ec9d61f08 100644
--- a/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
@@ -79,7 +79,7 @@ AtomicString FontBuilder::GenericFontFamilyName(
FontDescription::GenericFamilyType generic_family) const {
switch (generic_family) {
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
case FontDescription::kNoFamily:
return AtomicString();
case FontDescription::kStandardFamily:
@@ -249,7 +249,7 @@ static FontOrientation ComputeFontOrientation(const ComputedStyle& style) {
case kTextOrientationSideways:
return FontOrientation::kVerticalRotated;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return FontOrientation::kVerticalMixed;
}
}

Powered by Google App Engine
This is Rietveld 408576698