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

Unified Diff: Source/core/svg/SVGAnimatedBoolean.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/SVGAnimatedAngle.idl ('k') | Source/core/svg/SVGAnimatedBoolean.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedBoolean.h
diff --git a/Source/core/svg/SVGAnimatedBoolean.h b/Source/core/svg/SVGAnimatedBoolean.h
index cd24817f4618d9f6c865992c204b21db1105cc88..076bd879e4c714b35ae09ccbfe85c46b6d727d3c 100644
--- a/Source/core/svg/SVGAnimatedBoolean.h
+++ b/Source/core/svg/SVGAnimatedBoolean.h
@@ -38,13 +38,13 @@ namespace blink {
class SVGAnimatedBoolean final : public SVGAnimatedProperty<SVGBoolean> {
public:
- static PassRefPtr<SVGAnimatedBoolean> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGBoolean> initialValue)
+ static PassRefPtrWillBeRawPtr<SVGAnimatedBoolean> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGBoolean> initialValue)
{
- return adoptRef(new SVGAnimatedBoolean(contextElement, attributeName, initialValue));
+ return adoptRefWillBeNoop(new SVGAnimatedBoolean(contextElement, attributeName, initialValue));
}
protected:
- SVGAnimatedBoolean(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGBoolean> initialValue)
+ SVGAnimatedBoolean(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGBoolean> initialValue)
: SVGAnimatedProperty<SVGBoolean>(contextElement, attributeName, initialValue)
{
}
« no previous file with comments | « Source/core/svg/SVGAnimatedAngle.idl ('k') | Source/core/svg/SVGAnimatedBoolean.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698