Index: Source/core/svg/SVGPathSegListTearOff.h |
diff --git a/Source/core/svg/SVGPathSegListTearOff.h b/Source/core/svg/SVGPathSegListTearOff.h |
index 5407410cc288191e766dbc6c88137da808056129..b95e6b20a6657d40b87fad6d2deaf47eeff7c76b 100644 |
--- a/Source/core/svg/SVGPathSegListTearOff.h |
+++ b/Source/core/svg/SVGPathSegListTearOff.h |
@@ -44,17 +44,17 @@ public: |
// FIXME: Currently SVGPathSegitself is a tear-off. |
typedef SVGPathSeg ItemTearOffType; |
- static PassRefPtr<ItemPropertyType> getValueForInsertionFromTearOff(PassRefPtr<ItemTearOffType> passNewItem, SVGElement* contextElement, const QualifiedName& attributeName) |
+ static PassRefPtrWillBeRawPtr<ItemPropertyType> getValueForInsertionFromTearOff(PassRefPtrWillBeRawPtr<ItemTearOffType> passNewItem, SVGElement* contextElement, const QualifiedName& attributeName) |
{ |
ASSERT(attributeName == SVGNames::dAttr); |
- RefPtr<ItemTearOffType> newItem = passNewItem; |
+ RefPtrWillBeRawPtr<ItemTearOffType> newItem = passNewItem; |
newItem->setContextElement(contextElement); |
return newItem.release(); |
} |
- static PassRefPtr<ItemTearOffType> createTearOff(PassRefPtr<ItemPropertyType> passValue, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName&) |
+ static PassRefPtrWillBeRawPtr<ItemTearOffType> createTearOff(PassRefPtrWillBeRawPtr<ItemPropertyType> passValue, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName&) |
{ |
- RefPtr<SVGPathSeg> value = passValue; |
+ RefPtrWillBeRawPtr<SVGPathSeg> value = passValue; |
value->setContextElement(contextElement); |
return value.release(); |
} |
@@ -65,13 +65,13 @@ class SVGPathSegListTearOff final |
, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtr<SVGPathSegListTearOff> create(PassRefPtr<SVGPathSegList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null()) |
+ static PassRefPtrWillBeRawPtr<SVGPathSegListTearOff> create(PassRefPtrWillBeRawPtr<SVGPathSegList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null()) |
{ |
- return adoptRef(new SVGPathSegListTearOff(target, contextElement, propertyIsAnimVal, attributeName)); |
+ return adoptRefWillBeNoop(new SVGPathSegListTearOff(target, contextElement, propertyIsAnimVal, attributeName)); |
} |
private: |
- SVGPathSegListTearOff(PassRefPtr<SVGPathSegList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null()) |
+ SVGPathSegListTearOff(PassRefPtrWillBeRawPtr<SVGPathSegList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null()) |
: SVGListPropertyTearOffHelper<SVGPathSegListTearOff, SVGPathSegList>(target, contextElement, propertyIsAnimVal, attributeName) { } |
}; |