Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
index 8c7e618aed508cf3e7b9d674a10ab9e04e803d72..8ad96bdf047ca318961d49ab355e3ff593cc5cbb 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
@@ -38,7 +38,8 @@ PathPositionMapper::PositionType PathPositionMapper::pointAndNormalAtLength( |
return BeforePath; |
if (length > m_pathLength) |
return AfterPath; |
- ASSERT(length >= 0 && length <= m_pathLength); |
+ DCHECK_GE(length, 0); |
+ DCHECK_LE(length, m_pathLength); |
m_positionCalculator.pointAndNormalAtLength(length, point, angle); |
return OnPath; |
} |