| Index: third_party/WebKit/Source/core/svg/SVGRect.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGRect.h b/third_party/WebKit/Source/core/svg/SVGRect.h
|
| index 49eed081e9c566a7899122d1e5f85251084fc8d4..3008d71b42c5e279446a6c81b81e92d83881be15 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGRect.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGRect.h
|
| @@ -33,24 +33,24 @@ class SVGRect : public SVGPropertyHelper<SVGRect> {
|
| public:
|
| typedef SVGRectTearOff TearOffType;
|
|
|
| - static PassRefPtrWillBeRawPtr<SVGRect> create()
|
| + static RawPtr<SVGRect> create()
|
| {
|
| - return adoptRefWillBeNoop(new SVGRect());
|
| + return new SVGRect();
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<SVGRect> createInvalid()
|
| + static RawPtr<SVGRect> createInvalid()
|
| {
|
| - RefPtrWillBeRawPtr<SVGRect> rect = adoptRefWillBeNoop(new SVGRect());
|
| + RawPtr<SVGRect> rect = new SVGRect();
|
| rect->setInvalid();
|
| return rect.release();
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<SVGRect> create(const FloatRect& rect)
|
| + static RawPtr<SVGRect> create(const FloatRect& rect)
|
| {
|
| - return adoptRefWillBeNoop(new SVGRect(rect));
|
| + return new SVGRect(rect);
|
| }
|
|
|
| - PassRefPtrWillBeRawPtr<SVGRect> clone() const;
|
| + RawPtr<SVGRect> clone() const;
|
|
|
| const FloatRect& value() const { return m_value; }
|
| void setValue(const FloatRect& v) { m_value = v; }
|
| @@ -67,9 +67,9 @@ public:
|
| 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* contextElement) override;
|
| - float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
|
| + void add(RawPtr<SVGPropertyBase>, SVGElement*) override;
|
| + void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> from, RawPtr<SVGPropertyBase> to, RawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
|
| + float calculateDistance(RawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
|
|
|
| bool isValid() const { return m_isValid; }
|
| void setInvalid();
|
|
|