| Index: third_party/WebKit/Source/core/svg/SVGGeometryElement.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGGeometryElement.h b/third_party/WebKit/Source/core/svg/SVGGeometryElement.h
|
| index dc2c4a1d80f26c96bf5b99aa5bb4aa96a39eebfa..3fd263c87c129aed6e9dad9aa36c1d445700cbe9 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGGeometryElement.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGGeometryElement.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef SVGGeometryElement_h
|
| #define SVGGeometryElement_h
|
|
|
| +#include "core/svg/SVGAnimatedNumber.h"
|
| #include "core/svg/SVGGraphicsElement.h"
|
|
|
| namespace blink {
|
| @@ -48,9 +49,13 @@ class SVGGeometryElement : public SVGGraphicsElement {
|
|
|
| void toClipPath(Path&) const;
|
|
|
| + SVGAnimatedNumber* pathLength() const { return m_pathLength.get(); }
|
| LayoutObject* createLayoutObject(const ComputedStyle&) override;
|
| virtual float getTotalLength();
|
| virtual SVGPointTearOff* getPointAtLength(float distance);
|
| + virtual float pathLengthScaleFactor() const;
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| SVGGeometryElement(const QualifiedName&,
|
| @@ -59,6 +64,8 @@ class SVGGeometryElement : public SVGGraphicsElement {
|
|
|
| private:
|
| bool isSVGGeometryElement() const final { return true; }
|
| +
|
| + Member<SVGAnimatedNumber> m_pathLength;
|
| };
|
|
|
| inline bool isSVGGeometryElement(const SVGElement& element) {
|
|
|