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

Unified Diff: Source/core/svg/SVGPreserveAspectRatioTearOff.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/SVGPreserveAspectRatioTearOff.h
diff --git a/Source/core/svg/SVGPreserveAspectRatioTearOff.h b/Source/core/svg/SVGPreserveAspectRatioTearOff.h
index 011c2a0f5ea7542bcc3f2bfdcc65d30618065756..b7b78c9d63dfff99d386c7049ad77e4d33071d57 100644
--- a/Source/core/svg/SVGPreserveAspectRatioTearOff.h
+++ b/Source/core/svg/SVGPreserveAspectRatioTearOff.h
@@ -34,6 +34,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/svg/SVGPreserveAspectRatio.h"
#include "core/svg/properties/SVGPropertyTearOff.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -60,9 +61,9 @@ public:
SVG_MEETORSLICE_SLICE = SVGPreserveAspectRatio::SVG_MEETORSLICE_SLICE
};
- static PassRefPtr<SVGPreserveAspectRatioTearOff> create(PassRefPtr<SVGPreserveAspectRatio> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
+ static PassRefPtrWillBeRawPtr<SVGPreserveAspectRatioTearOff> create(PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
{
- return adoptRef(new SVGPreserveAspectRatioTearOff(target, contextElement, propertyIsAnimVal, attributeName));
+ return adoptRefWillBeNoop(new SVGPreserveAspectRatioTearOff(target, contextElement, propertyIsAnimVal, attributeName));
}
void setAlign(unsigned short, ExceptionState&);
@@ -71,7 +72,7 @@ public:
unsigned short meetOrSlice() { return target()->meetOrSlice(); }
private:
- SVGPreserveAspectRatioTearOff(PassRefPtr<SVGPreserveAspectRatio>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
+ SVGPreserveAspectRatioTearOff(PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698