| Index: third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h b/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h
|
| index a10a1a9242edb1c85cd74226d35947a970e431d5..db91ea0d5f2b9d30c167d2aa39e518969120d8e6 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h
|
| @@ -45,17 +45,17 @@ class SVGTransformTearOff;
|
| // SVGMatrixTearOff wraps a AffineTransform for Javascript.
|
| // Its instance can either hold a static value, or this can be teared off from |SVGTransform.matrix|.
|
| // This does not derive from SVGPropertyTearOff, as its instances are never tied to an animated property nor an XML attribute.
|
| -class CORE_EXPORT SVGMatrixTearOff final : public RefCountedWillBeGarbageCollectedFinalized<SVGMatrixTearOff>, public ScriptWrappable {
|
| +class CORE_EXPORT SVGMatrixTearOff final : public GarbageCollectedFinalized<SVGMatrixTearOff>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SVGMatrixTearOff> create(const AffineTransform& value)
|
| + static RawPtr<SVGMatrixTearOff> create(const AffineTransform& value)
|
| {
|
| - return adoptRefWillBeNoop(new SVGMatrixTearOff(value));
|
| + return new SVGMatrixTearOff(value);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<SVGMatrixTearOff> create(SVGTransformTearOff* target)
|
| + static RawPtr<SVGMatrixTearOff> create(SVGTransformTearOff* target)
|
| {
|
| - return adoptRefWillBeNoop(new SVGMatrixTearOff(target));
|
| + return new SVGMatrixTearOff(target);
|
| }
|
|
|
| ~SVGMatrixTearOff();
|
| @@ -74,17 +74,17 @@ public:
|
| void setE(double, ExceptionState&);
|
| void setF(double, ExceptionState&);
|
|
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> translate(double tx, double ty);
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> scale(double);
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> scaleNonUniform(double sx, double sy);
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> rotate(double);
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> flipX();
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> flipY();
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> skewX(double);
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> skewY(double);
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> multiply(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>);
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> inverse(ExceptionState&);
|
| - PassRefPtrWillBeRawPtr<SVGMatrixTearOff> rotateFromVector(double x, double y, ExceptionState&);
|
| + RawPtr<SVGMatrixTearOff> translate(double tx, double ty);
|
| + RawPtr<SVGMatrixTearOff> scale(double);
|
| + RawPtr<SVGMatrixTearOff> scaleNonUniform(double sx, double sy);
|
| + RawPtr<SVGMatrixTearOff> rotate(double);
|
| + RawPtr<SVGMatrixTearOff> flipX();
|
| + RawPtr<SVGMatrixTearOff> flipY();
|
| + RawPtr<SVGMatrixTearOff> skewX(double);
|
| + RawPtr<SVGMatrixTearOff> skewY(double);
|
| + RawPtr<SVGMatrixTearOff> multiply(RawPtr<SVGMatrixTearOff>);
|
| + RawPtr<SVGMatrixTearOff> inverse(ExceptionState&);
|
| + RawPtr<SVGMatrixTearOff> rotateFromVector(double x, double y, ExceptionState&);
|
|
|
| SVGTransformTearOff* contextTransform() { return m_contextTransform; }
|
|
|
| @@ -101,7 +101,7 @@ private:
|
|
|
| AffineTransform m_staticValue;
|
|
|
| - RawPtrWillBeMember<SVGTransformTearOff> m_contextTransform;
|
| + Member<SVGTransformTearOff> m_contextTransform;
|
| };
|
|
|
| } // namespace blink
|
|
|