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

Unified Diff: Source/core/svg/SVGAnimatedPreserveAspectRatio.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/SVGAnimatedPreserveAspectRatio.h
diff --git a/Source/core/svg/SVGAnimatedPreserveAspectRatio.h b/Source/core/svg/SVGAnimatedPreserveAspectRatio.h
index b3faea54898f5e013618d2a7e32b06b5a254d954..bd9737fe4bf0b7bd617f9cfd6f9a7c6f268f3f5f 100644
--- a/Source/core/svg/SVGAnimatedPreserveAspectRatio.h
+++ b/Source/core/svg/SVGAnimatedPreserveAspectRatio.h
@@ -38,13 +38,13 @@ namespace blink {
class SVGAnimatedPreserveAspectRatio : public SVGAnimatedProperty<SVGPreserveAspectRatio> {
public:
- static PassRefPtr<SVGAnimatedPreserveAspectRatio> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGPreserveAspectRatio> initialValue)
+ static PassRefPtrWillBeRawPtr<SVGAnimatedPreserveAspectRatio> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> initialValue)
{
- return adoptRef(new SVGAnimatedPreserveAspectRatio(contextElement, attributeName, initialValue));
+ return adoptRefWillBeNoop(new SVGAnimatedPreserveAspectRatio(contextElement, attributeName, initialValue));
}
protected:
- SVGAnimatedPreserveAspectRatio(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGPreserveAspectRatio> initialValue)
+ SVGAnimatedPreserveAspectRatio(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> initialValue)
: SVGAnimatedProperty<SVGPreserveAspectRatio>(contextElement, attributeName, initialValue)
{
}

Powered by Google App Engine
This is Rietveld 408576698