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

Unified Diff: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp

Issue 2845773005: Replace ASSERT_NOT_REACHED with NOTREACHED in core/paint (Closed)
Patch Set: 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/paint/SVGInlineTextBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
index 67c02561988d3d17728f4b335b02f5e012a64df2..c0eb9eaf0b399da78bcf8a74d95cfc5ef49cce7c 100644
--- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
@@ -202,7 +202,7 @@ void SVGInlineTextBoxPainter::PaintTextFragments(
// Markers don't apply to text
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}
@@ -296,7 +296,7 @@ static inline float BaselineOffsetForDecoration(TextDecoration decoration,
if (decoration == kTextDecorationLineThrough)
return font_metrics.FloatAscent() * 3 / 8.0f;
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0.0f;
}
@@ -393,7 +393,7 @@ void SVGInlineTextBoxPainter::PaintDecoration(const PaintInfo& paint_info,
case PT_MARKERS:
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
}

Powered by Google App Engine
This is Rietveld 408576698