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

Unified Diff: Source/core/svg/SVGNumberList.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/SVGNumber.idl ('k') | Source/core/svg/SVGNumberList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGNumberList.h
diff --git a/Source/core/svg/SVGNumberList.h b/Source/core/svg/SVGNumberList.h
index 79843a8c0dab14a0a4cde8f70daa21abd6410438..8ffcf2abe2a44b0f66467bf693bd1f50f93ce046 100644
--- a/Source/core/svg/SVGNumberList.h
+++ b/Source/core/svg/SVGNumberList.h
@@ -43,9 +43,9 @@ class SVGNumberList final : public SVGListPropertyHelper<SVGNumberList, SVGNumbe
public:
typedef SVGNumberListTearOff TearOffType;
- static PassRefPtr<SVGNumberList> create()
+ static PassRefPtrWillBeRawPtr<SVGNumberList> create()
{
- return adoptRef(new SVGNumberList());
+ return adoptRefWillBeNoop(new SVGNumberList());
}
virtual ~SVGNumberList();
@@ -56,8 +56,8 @@ public:
virtual String valueAsString() const override;
virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
- virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
- virtual float calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement*) override;
+ virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
+ virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) override;
static AnimatedPropertyType classType() { return AnimatedNumberList; }
« no previous file with comments | « Source/core/svg/SVGNumber.idl ('k') | Source/core/svg/SVGNumberList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698