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

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

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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
« no previous file with comments | « Source/core/svg/SVGLengthListTearOff.h ('k') | Source/core/svg/SVGLengthTearOff.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLengthTearOff.h
diff --git a/Source/core/svg/SVGLengthTearOff.h b/Source/core/svg/SVGLengthTearOff.h
index 36ebb05103b5d687f1ea37b192a658881e292858..55feeec41df7853d6a225fb7c3bcd607a33dd1e5 100644
--- a/Source/core/svg/SVGLengthTearOff.h
+++ b/Source/core/svg/SVGLengthTearOff.h
@@ -55,9 +55,9 @@ public:
SVG_LENGTHTYPE_PC = LengthTypePC
};
- static PassRefPtr<SVGLengthTearOff> create(PassRefPtr<SVGLength> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
+ static PassRefPtrWillBeRawPtr<SVGLengthTearOff> create(PassRefPtrWillBeRawPtr<SVGLength> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
{
- return adoptRef(new SVGLengthTearOff(target, contextElement, propertyIsAnimVal, attributeName));
+ return adoptRefWillBeNoop(new SVGLengthTearOff(target, contextElement, propertyIsAnimVal, attributeName));
}
SVGLengthType unitType();
@@ -72,7 +72,7 @@ public:
void convertToSpecifiedUnits(unsigned short unitType, ExceptionState&);
private:
- SVGLengthTearOff(PassRefPtr<SVGLength>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
+ SVGLengthTearOff(PassRefPtrWillBeRawPtr<SVGLength>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGLengthListTearOff.h ('k') | Source/core/svg/SVGLengthTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698