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

Unified Diff: Source/core/svg/SVGPointTearOff.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/SVGPointListTearOff.h ('k') | Source/core/svg/SVGPointTearOff.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPointTearOff.h
diff --git a/Source/core/svg/SVGPointTearOff.h b/Source/core/svg/SVGPointTearOff.h
index a9d947621a23441ff7ea62a7becd1d8238e1f1ea..674a459fc19f252c64339b45e76c8a10cdeebb20 100644
--- a/Source/core/svg/SVGPointTearOff.h
+++ b/Source/core/svg/SVGPointTearOff.h
@@ -42,9 +42,9 @@ class SVGMatrixTearOff;
class SVGPointTearOff : public SVGPropertyTearOff<SVGPoint>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtr<SVGPointTearOff> create(PassRefPtr<SVGPoint> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
+ static PassRefPtrWillBeRawPtr<SVGPointTearOff> create(PassRefPtrWillBeRawPtr<SVGPoint> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
{
- return adoptRef(new SVGPointTearOff(target, contextElement, propertyIsAnimVal, attributeName));
+ return adoptRefWillBeNoop(new SVGPointTearOff(target, contextElement, propertyIsAnimVal, attributeName));
}
void setX(float, ExceptionState&);
@@ -52,10 +52,10 @@ public:
float x() { return target()->x(); }
float y() { return target()->y(); }
- PassRefPtr<SVGPointTearOff> matrixTransform(PassRefPtr<SVGMatrixTearOff>);
+ PassRefPtrWillBeRawPtr<SVGPointTearOff> matrixTransform(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>);
protected:
- SVGPointTearOff(PassRefPtr<SVGPoint>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
+ SVGPointTearOff(PassRefPtrWillBeRawPtr<SVGPoint>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGPointListTearOff.h ('k') | Source/core/svg/SVGPointTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698