Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1373)

Unified Diff: Source/core/svg/SVGPointListTearOff.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGPointListTearOff.h
diff --git a/Source/core/svg/SVGPointListTearOff.h b/Source/core/svg/SVGPointListTearOff.h
index 03a49b0135ecd02367d88fc45bec1ad73ba932be..b1cef04d1e5d18658c400b4e01ccb2db580ce3f1 100644
--- a/Source/core/svg/SVGPointListTearOff.h
+++ b/Source/core/svg/SVGPointListTearOff.h
@@ -41,13 +41,13 @@ class SVGPointListTearOff final
, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtr<SVGPointListTearOff> create(PassRefPtr<SVGPointList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
+ static PassRefPtrWillBeRawPtr<SVGPointListTearOff> create(PassRefPtrWillBeRawPtr<SVGPointList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
{
- return adoptRef(new SVGPointListTearOff(target, contextElement, propertyIsAnimVal, attributeName));
+ return adoptRefWillBeNoop(new SVGPointListTearOff(target, contextElement, propertyIsAnimVal, attributeName));
}
private:
- SVGPointListTearOff(PassRefPtr<SVGPointList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
+ SVGPointListTearOff(PassRefPtrWillBeRawPtr<SVGPointList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
: SVGListPropertyTearOffHelper<SVGPointListTearOff, SVGPointList>(target, contextElement, propertyIsAnimVal, attributeName) { }
};

Powered by Google App Engine
This is Rietveld 408576698