Index: Source/core/layout/svg/LayoutSVGInlineText.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGInlineText.cpp b/Source/core/layout/svg/LayoutSVGInlineText.cpp |
index 2ef5ee2f707a659c7c1c8d14f1a689f038fda1ba..4f77904650d91bd997ff8f361a74bc0df6d90ca7 100644 |
--- a/Source/core/layout/svg/LayoutSVGInlineText.cpp |
+++ b/Source/core/layout/svg/LayoutSVGInlineText.cpp |
@@ -155,7 +155,7 @@ bool LayoutSVGInlineText::characterStartsNewTextChunk(int position) const |
if (it == m_layoutAttributes.characterDataMap().end()) |
return false; |
- return it->value.x != SVGTextLayoutAttributes::emptyValue() || it->value.y != SVGTextLayoutAttributes::emptyValue(); |
+ return !SVGTextLayoutAttributes::isEmptyValue(it->value.x) || !SVGTextLayoutAttributes::isEmptyValue(it->value.y); |
} |
PositionWithAffinity LayoutSVGInlineText::positionForPoint(const LayoutPoint& point) |