Index: third_party/WebKit/Source/core/style/StylePath.h |
diff --git a/third_party/WebKit/Source/core/style/StylePath.h b/third_party/WebKit/Source/core/style/StylePath.h |
index b98ff9148aeb51c31a5d49708cebd1b312ddba2d..76d94412007930d3e4e928fc518b029e0576a6be 100644 |
--- a/third_party/WebKit/Source/core/style/StylePath.h |
+++ b/third_party/WebKit/Source/core/style/StylePath.h |
@@ -25,6 +25,9 @@ public: |
static StylePath* emptyPath(); |
const Path& path() const; |
+ float length() const; |
+ bool isClosed() const; |
+ |
const SVGPathByteStream& byteStream() const; |
PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const; |
@@ -36,6 +39,7 @@ private: |
RefPtr<SVGPathByteStream> m_byteStream; |
mutable OwnPtr<Path> m_path; |
+ mutable float m_pathLength; |
}; |
} // namespace blink |