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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp

Issue 2758683002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/layout/ (Closed)
Patch Set: Rebase with latest Created 3 years, 9 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/layout/svg/SVGTextChunkBuilder.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp
index d16536f59e3000c2f9b2d12098aa5659de2b7e1c..b51e4dcc71854511a173b45035e020900801027f 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp
@@ -32,7 +32,7 @@ float calculateTextAnchorShift(const ComputedStyle& style, float length) {
bool isLTR = style.isLeftToRightDirection();
switch (style.svgStyle().textAnchor()) {
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
case TA_START:
return isLTR ? 0 : -length;
case TA_MIDDLE:
@@ -46,7 +46,7 @@ bool needsTextAnchorAdjustment(const ComputedStyle& style) {
bool isLTR = style.isLeftToRightDirection();
switch (style.svgStyle().textAnchor()) {
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
case TA_START:
return !isLTR;
case TA_MIDDLE:

Powered by Google App Engine
This is Rietveld 408576698