Index: Source/core/layout/svg/LayoutSVGInlineText.h |
diff --git a/Source/core/layout/svg/LayoutSVGInlineText.h b/Source/core/layout/svg/LayoutSVGInlineText.h |
index 98594511cc37aa203334a8a99ccd3ad40a92fe2a..b0f22264ab509266e1c11beb6c8e1721e56e1c98 100644 |
--- a/Source/core/layout/svg/LayoutSVGInlineText.h |
+++ b/Source/core/layout/svg/LayoutSVGInlineText.h |
@@ -106,6 +106,7 @@ public: |
const Vector<SVGTextMetrics>& metricsList() const { return m_textLayoutObject->layoutAttributes()->textMetricsValues(); } |
unsigned metricsListOffset() const { return m_metricsListOffset; } |
unsigned characterOffset() const { return m_characterOffset; } |
+ bool isAtEnd() const { return m_metricsListOffset == metricsList().size(); } |
private: |
void reset(const LayoutSVGInlineText* textLayoutObject) |