Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: Source/core/svg/SVGTransform.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGTextPositioningElement.cpp ('k') | Source/core/svg/SVGTransform.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTransform.h
diff --git a/Source/core/svg/SVGTransform.h b/Source/core/svg/SVGTransform.h
index 402bea9e55b249fc4364ddc612257a82a30a4398..07a02de349d7f928c18396e57e34e6076a9d9bb5 100644
--- a/Source/core/svg/SVGTransform.h
+++ b/Source/core/svg/SVGTransform.h
@@ -50,25 +50,25 @@ public:
ConstructZeroTransform
};
- static PassRefPtr<SVGTransform> create()
+ static PassRefPtrWillBeRawPtr<SVGTransform> create()
{
- return adoptRef(new SVGTransform());
+ return adoptRefWillBeNoop(new SVGTransform());
}
- static PassRefPtr<SVGTransform> create(SVGTransformType type, ConstructionMode mode = ConstructIdentityTransform)
+ static PassRefPtrWillBeRawPtr<SVGTransform> create(SVGTransformType type, ConstructionMode mode = ConstructIdentityTransform)
{
- return adoptRef(new SVGTransform(type, mode));
+ return adoptRefWillBeNoop(new SVGTransform(type, mode));
}
- static PassRefPtr<SVGTransform> create(const AffineTransform& affineTransform)
+ static PassRefPtrWillBeRawPtr<SVGTransform> create(const AffineTransform& affineTransform)
{
- return adoptRef(new SVGTransform(affineTransform));
+ return adoptRefWillBeNoop(new SVGTransform(affineTransform));
}
virtual ~SVGTransform();
- PassRefPtr<SVGTransform> clone() const;
- virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ PassRefPtrWillBeRawPtr<SVGTransform> clone() const;
+ virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
SVGTransformType transformType() const { return m_transformType; }
@@ -95,8 +95,8 @@ public:
virtual String valueAsString() const override;
virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
- virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> from, PassRefPtr<SVGPropertyBase> to, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
- virtual float calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
+ virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
+ virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
static AnimatedPropertyType classType() { return AnimatedTransform; }
@@ -114,4 +114,4 @@ private:
} // namespace blink
-#endif
+#endif // SVGTransform_h
« no previous file with comments | « Source/core/svg/SVGTextPositioningElement.cpp ('k') | Source/core/svg/SVGTransform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698