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

Unified Diff: Source/core/svg/SVGLengthList.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/SVGLengthContext.cpp ('k') | Source/core/svg/SVGLengthList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLengthList.h
diff --git a/Source/core/svg/SVGLengthList.h b/Source/core/svg/SVGLengthList.h
index 196080ab967c4628dd60b39045a14519ec69891f..9b23222032bd221f5ba98c25c7d476b5bbf44190 100644
--- a/Source/core/svg/SVGLengthList.h
+++ b/Source/core/svg/SVGLengthList.h
@@ -43,9 +43,9 @@ class SVGLengthList final : public SVGListPropertyHelper<SVGLengthList, SVGLengt
public:
typedef SVGLengthListTearOff TearOffType;
- static PassRefPtr<SVGLengthList> create(SVGLengthMode mode = LengthModeOther)
+ static PassRefPtrWillBeRawPtr<SVGLengthList> create(SVGLengthMode mode = LengthModeOther)
{
- return adoptRef(new SVGLengthList(mode));
+ return adoptRefWillBeNoop(new SVGLengthList(mode));
}
virtual ~SVGLengthList();
@@ -53,13 +53,13 @@ public:
void setValueAsString(const String&, ExceptionState&);
// SVGPropertyBase:
- virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
- virtual PassRefPtr<SVGLengthList> clone() override;
+ virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ virtual PassRefPtrWillBeRawPtr<SVGLengthList> clone() override;
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 AnimatedLengthList; }
@@ -68,7 +68,7 @@ private:
// Create SVGLength items used to adjust the list length
// when animation from/to lists are longer than this list.
- virtual PassRefPtr<SVGLength> createPaddingItem() const override;
+ virtual PassRefPtrWillBeRawPtr<SVGLength> createPaddingItem() const override;
template <typename CharType>
void parseInternal(const CharType*& ptr, const CharType* end, ExceptionState&);
« no previous file with comments | « Source/core/svg/SVGLengthContext.cpp ('k') | Source/core/svg/SVGLengthList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698