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 17ac253b8a6726f02687e2761ed833200ed49aaa..562c113ff1fa4cef35b07d471a6a00be7b05c821 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp |
@@ -62,4 +62,9 @@ float LayoutSVGTextPath::startOffset() const |
return toSVGTextPathElement(node())->startOffset()->currentValue()->valueAsPercentage(); |
} |
+bool LayoutSVGTextPath::isPercentageForStartOffset() const |
+{ |
+ return toSVGTextPathElement(node())->startOffset()->currentValue()->isPercentage(); |
+} |
+ |
} |