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

Unified Diff: Source/core/svg/SVGAnimatedLength.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/SVGAnimatedIntegerOptionalInteger.cpp ('k') | Source/core/svg/SVGAnimatedLength.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedLength.h
diff --git a/Source/core/svg/SVGAnimatedLength.h b/Source/core/svg/SVGAnimatedLength.h
index 54f8c2bc8d948b85b31f1cfb4ada772d8150e320..a1370818f308469ee090405c3a8ef2ccff105d15 100644
--- a/Source/core/svg/SVGAnimatedLength.h
+++ b/Source/core/svg/SVGAnimatedLength.h
@@ -38,16 +38,16 @@ namespace blink {
class SVGAnimatedLength : public SVGAnimatedProperty<SVGLength> {
public:
- static PassRefPtr<SVGAnimatedLength> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue, SVGLengthNegativeValuesMode negativeValuesMode)
+ static PassRefPtrWillBeRawPtr<SVGAnimatedLength> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGLength> initialValue, SVGLengthNegativeValuesMode negativeValuesMode)
{
- return adoptRef(new SVGAnimatedLength(contextElement, attributeName, initialValue, negativeValuesMode));
+ return adoptRefWillBeNoop(new SVGAnimatedLength(contextElement, attributeName, initialValue, negativeValuesMode));
}
void setDefaultValueAsString(const String&);
void setBaseValueAsString(const String&, SVGParsingError&) override;
protected:
- SVGAnimatedLength(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue, SVGLengthNegativeValuesMode negativeValuesMode)
+ SVGAnimatedLength(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGLength> initialValue, SVGLengthNegativeValuesMode negativeValuesMode)
: SVGAnimatedProperty<SVGLength>(contextElement, attributeName, initialValue)
, m_negativeValuesMode(negativeValuesMode)
{
« no previous file with comments | « Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp ('k') | Source/core/svg/SVGAnimatedLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698