| Index: third_party/WebKit/Source/core/svg/SVGEnumeration.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGEnumeration.h b/third_party/WebKit/Source/core/svg/SVGEnumeration.h
|
| index 3eda15a623d032302b6759537db729e8006909ef..efc388545a809cb177c54690dd2615945299ada0 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGEnumeration.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGEnumeration.h
|
| @@ -51,15 +51,15 @@ public:
|
| void setValue(unsigned short);
|
|
|
| // SVGPropertyBase:
|
| - virtual PassRefPtrWillBeRawPtr<SVGEnumerationBase> clone() const = 0;
|
| - PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
|
| + virtual RawPtr<SVGEnumerationBase> clone() const = 0;
|
| + RawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
|
|
|
| String valueAsString() const override;
|
| SVGParsingError setValueAsString(const String&);
|
|
|
| - void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
|
| - void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
|
| - float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) override;
|
| + void add(RawPtr<SVGPropertyBase>, SVGElement*) override;
|
| + void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> from, RawPtr<SVGPropertyBase> to, RawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
|
| + float calculateDistance(RawPtr<SVGPropertyBase> to, SVGElement*) override;
|
|
|
| static AnimatedPropertyType classType() { return AnimatedEnumeration; }
|
|
|
| @@ -99,14 +99,14 @@ template<typename Enum> unsigned short getMaxExposedEnumValue()
|
| template<typename Enum>
|
| class SVGEnumeration : public SVGEnumerationBase {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SVGEnumeration<Enum>> create(Enum newValue)
|
| + static RawPtr<SVGEnumeration<Enum>> create(Enum newValue)
|
| {
|
| - return adoptRefWillBeNoop(new SVGEnumeration<Enum>(newValue));
|
| + return new SVGEnumeration<Enum>(newValue);
|
| }
|
|
|
| ~SVGEnumeration() override {}
|
|
|
| - PassRefPtrWillBeRawPtr<SVGEnumerationBase> clone() const override
|
| + RawPtr<SVGEnumerationBase> clone() const override
|
| {
|
| return create(enumValue());
|
| }
|
|
|