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

Unified Diff: third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.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
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
index a9eb03e57cdd81c0ed0538f2a3a31dcdc05f9d39..98cf34108bdf337dc66401b17fba3a5c86ac5720 100644
--- a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
@@ -61,7 +61,7 @@ int SVGInlineTextBox::offsetForPosition(LayoutUnit, bool) const {
// SVG doesn't use the standard offset <-> position selection system, as it's
// not suitable for SVGs complex needs. Vertical text selection, inline boxes
// spanning multiple lines (contrary to HTML, etc.)
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
@@ -94,7 +94,7 @@ int SVGInlineTextBox::offsetForPositionInFragment(
LayoutUnit SVGInlineTextBox::positionForOffset(int) const {
// SVG doesn't use the offset <-> position selection system.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutUnit();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698