Index: Source/core/svg/SVGAngleTearOff.h |
diff --git a/Source/core/svg/SVGAngleTearOff.h b/Source/core/svg/SVGAngleTearOff.h |
index b402705eedfa72f75be2506e73ea8d884d583a31..43fa06742676a9bd7edfa72c784f7c68a6dca96a 100644 |
--- a/Source/core/svg/SVGAngleTearOff.h |
+++ b/Source/core/svg/SVGAngleTearOff.h |
@@ -40,9 +40,9 @@ namespace blink { |
class SVGAngleTearOff final : public SVGPropertyTearOff<SVGAngle>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtr<SVGAngleTearOff> create(PassRefPtr<SVGAngle> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null()) |
+ static PassRefPtrWillBeRawPtr<SVGAngleTearOff> create(PassRefPtrWillBeRawPtr<SVGAngle> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null()) |
{ |
- return adoptRef(new SVGAngleTearOff(target, contextElement, propertyIsAnimVal, attributeName)); |
+ return adoptRefWillBeNoop(new SVGAngleTearOff(target, contextElement, propertyIsAnimVal, attributeName)); |
} |
enum { |
@@ -70,7 +70,7 @@ public: |
void setValueAsString(const String&, ExceptionState&); |
private: |
- SVGAngleTearOff(PassRefPtr<SVGAngle>, SVGElement*, PropertyIsAnimValType, const QualifiedName&); |
+ SVGAngleTearOff(PassRefPtrWillBeRawPtr<SVGAngle>, SVGElement*, PropertyIsAnimValType, const QualifiedName&); |
bool hasExposedAngleUnit() { return target()->unitType() <= SVGAngle::SVG_ANGLETYPE_GRAD; } |
}; |