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

Unified Diff: Source/core/svg/SVGEnumeration.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/SVGEllipseElement.cpp ('k') | Source/core/svg/SVGEnumeration.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGEnumeration.h
diff --git a/Source/core/svg/SVGEnumeration.h b/Source/core/svg/SVGEnumeration.h
index 566b97535273d083ce5f8eccf29526bc88021b78..a849381420206640b21e94c306883feb8fc73d2d 100644
--- a/Source/core/svg/SVGEnumeration.h
+++ b/Source/core/svg/SVGEnumeration.h
@@ -52,15 +52,15 @@ public:
void setValue(unsigned short, ExceptionState&);
// SVGPropertyBase:
- virtual PassRefPtr<SVGEnumerationBase> clone() const = 0;
- virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ virtual PassRefPtrWillBeRawPtr<SVGEnumerationBase> clone() const = 0;
+ virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
virtual String valueAsString() const override;
void setValueAsString(const String&, ExceptionState&);
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*) override;
- virtual float calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement*) override;
+ virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
+ virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) override;
static AnimatedPropertyType classType() { return AnimatedEnumeration; }
@@ -103,16 +103,16 @@ template<typename Enum> unsigned short getMaxExposedEnumValue()
template<typename Enum>
class SVGEnumeration : public SVGEnumerationBase {
public:
- static PassRefPtr<SVGEnumeration<Enum> > create(Enum newValue)
+ static PassRefPtrWillBeRawPtr<SVGEnumeration<Enum> > create(Enum newValue)
{
- return adoptRef(new SVGEnumeration<Enum>(newValue));
+ return adoptRefWillBeNoop(new SVGEnumeration<Enum>(newValue));
}
virtual ~SVGEnumeration()
{
}
- virtual PassRefPtr<SVGEnumerationBase> clone() const override
+ virtual PassRefPtrWillBeRawPtr<SVGEnumerationBase> clone() const override
{
return create(enumValue());
}
« no previous file with comments | « Source/core/svg/SVGEllipseElement.cpp ('k') | Source/core/svg/SVGEnumeration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698