Index: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp |
index 1a562c69b6bad74b1966fbbfa9a0009000e817d2..c29085580b8c8d2c849a84f55423dc1e51ed55cd 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp |
@@ -314,7 +314,7 @@ const LayoutSVGInlineText* SVGTextLayoutEngine::currentLogicalCharacterMetrics( |
m_descendantTextNodes[m_currentLogicalTextNodeIndex]; |
const Vector<SVGTextMetrics>* metricsList = &logicalTextNode->metricsList(); |
unsigned metricsListSize = metricsList->size(); |
- DCHECK(m_logicalMetricsListOffset <= metricsListSize); |
+ DCHECK_LE(m_logicalMetricsListOffset, metricsListSize); |
// Find the next non-collapsed text metrics cell. |
while (true) { |