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

Unified Diff: Source/core/svg/SVGNumberTearOff.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/SVGNumberOptionalNumber.cpp ('k') | Source/core/svg/SVGNumberTearOff.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGNumberTearOff.h
diff --git a/Source/core/svg/SVGNumberTearOff.h b/Source/core/svg/SVGNumberTearOff.h
index b70e52233f18d3362db1a091177839e43d8af4cb..5f7b6ab58b435003c58bd14d9a229b11dd6c34e8 100644
--- a/Source/core/svg/SVGNumberTearOff.h
+++ b/Source/core/svg/SVGNumberTearOff.h
@@ -40,16 +40,16 @@ namespace blink {
class SVGNumberTearOff : public SVGPropertyTearOff<SVGNumber>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtr<SVGNumberTearOff> create(PassRefPtr<SVGNumber> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
+ static PassRefPtrWillBeRawPtr<SVGNumberTearOff> create(PassRefPtrWillBeRawPtr<SVGNumber> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
{
- return adoptRef(new SVGNumberTearOff(target, contextElement, propertyIsAnimVal, attributeName));
+ return adoptRefWillBeNoop(new SVGNumberTearOff(target, contextElement, propertyIsAnimVal, attributeName));
}
void setValue(float, ExceptionState&);
float value() { return target()->value(); }
protected:
- SVGNumberTearOff(PassRefPtr<SVGNumber>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
+ SVGNumberTearOff(PassRefPtrWillBeRawPtr<SVGNumber>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGNumberOptionalNumber.cpp ('k') | Source/core/svg/SVGNumberTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698