summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGPathElement.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-06-16 22:19:17 +0200
committerLiang Qi <liang.qi@qt.io>2016-06-16 22:19:17 +0200
commitbdb53d77d1806a06646d3721c22b40ecd03d6f6a (patch)
tree1f8f20fb068753fa3c6f1af3bc1b18a57a54bf75 /Source/WebCore/svg/SVGPathElement.h
parent5079a4fb1da63f00d089eac0d40a88bb0e0e45a4 (diff)
parent8b24887dcb8e9ea1fd1b4043795a54bb3d6d3663 (diff)
downloadqtwebkit-bdb53d77d1806a06646d3721c22b40ecd03d6f6a.tar.gz
Merge remote-tracking branch 'origin/5.7' into dev
Change-Id: Ib5bd1f44e83e29501eaa432ddb47320375f5079a
Diffstat (limited to 'Source/WebCore/svg/SVGPathElement.h')
-rw-r--r--Source/WebCore/svg/SVGPathElement.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/WebCore/svg/SVGPathElement.h b/Source/WebCore/svg/SVGPathElement.h
index c81ead198..e9db8a56e 100644
--- a/Source/WebCore/svg/SVGPathElement.h
+++ b/Source/WebCore/svg/SVGPathElement.h
@@ -83,10 +83,10 @@ public:
PassRefPtr<SVGPathSegCurvetoQuadraticSmoothRel> createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole role = PathSegUndefinedRole);
// Used in the bindings only.
- SVGPathSegListPropertyTearOff* pathSegList();
- SVGPathSegListPropertyTearOff* animatedPathSegList();
- SVGPathSegListPropertyTearOff* normalizedPathSegList();
- SVGPathSegListPropertyTearOff* animatedNormalizedPathSegList();
+ RefPtr<SVGPathSegListPropertyTearOff> pathSegList();
+ RefPtr<SVGPathSegListPropertyTearOff> animatedPathSegList();
+ RefPtr<SVGPathSegListPropertyTearOff> normalizedPathSegList();
+ RefPtr<SVGPathSegListPropertyTearOff> animatedNormalizedPathSegList();
SVGPathByteStream* pathByteStream() const;
@@ -98,7 +98,9 @@ public:
bool isAnimValObserved() const { return m_isAnimValObserved; }
-private:
+ void animatedPropertyWillBeDeleted();
+
+ private:
SVGPathElement(const QualifiedName&, Document*);
virtual bool isValid() const { return SVGTests::isValid(); }