| Index: Source/core/svg/SVGPreserveAspectRatioTearOff.h
|
| diff --git a/Source/core/svg/SVGPreserveAspectRatioTearOff.h b/Source/core/svg/SVGPreserveAspectRatioTearOff.h
|
| index 011c2a0f5ea7542bcc3f2bfdcc65d30618065756..b7b78c9d63dfff99d386c7049ad77e4d33071d57 100644
|
| --- a/Source/core/svg/SVGPreserveAspectRatioTearOff.h
|
| +++ b/Source/core/svg/SVGPreserveAspectRatioTearOff.h
|
| @@ -34,6 +34,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/svg/SVGPreserveAspectRatio.h"
|
| #include "core/svg/properties/SVGPropertyTearOff.h"
|
| +#include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| @@ -60,9 +61,9 @@ public:
|
| SVG_MEETORSLICE_SLICE = SVGPreserveAspectRatio::SVG_MEETORSLICE_SLICE
|
| };
|
|
|
| - static PassRefPtr<SVGPreserveAspectRatioTearOff> create(PassRefPtr<SVGPreserveAspectRatio> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
|
| + static PassRefPtrWillBeRawPtr<SVGPreserveAspectRatioTearOff> create(PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
|
| {
|
| - return adoptRef(new SVGPreserveAspectRatioTearOff(target, contextElement, propertyIsAnimVal, attributeName));
|
| + return adoptRefWillBeNoop(new SVGPreserveAspectRatioTearOff(target, contextElement, propertyIsAnimVal, attributeName));
|
| }
|
|
|
| void setAlign(unsigned short, ExceptionState&);
|
| @@ -71,7 +72,7 @@ public:
|
| unsigned short meetOrSlice() { return target()->meetOrSlice(); }
|
|
|
| private:
|
| - SVGPreserveAspectRatioTearOff(PassRefPtr<SVGPreserveAspectRatio>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
|
| + SVGPreserveAspectRatioTearOff(PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
|
| };
|
|
|
| } // namespace blink
|
|
|