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

Unified Diff: Source/core/animation/DefaultSVGInterpolation.h

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Intentional nullptr access Created 5 years, 7 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/animation/DefaultSVGInterpolation.h
diff --git a/Source/core/animation/DefaultSVGInterpolation.h b/Source/core/animation/DefaultSVGInterpolation.h
index 0d641a4d84d597b8de63e8b72b6ed2e5c1d9b198..37cca61a2a4a283a65a458f2f0cc7ef211afe4d8 100644
--- a/Source/core/animation/DefaultSVGInterpolation.h
+++ b/Source/core/animation/DefaultSVGInterpolation.h
@@ -11,9 +11,9 @@ namespace blink {
class DefaultSVGInterpolation : public SVGInterpolation {
public:
- static PassRefPtrWillBeRawPtr<DefaultSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
+ static DefaultSVGInterpolation* create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
{
- return adoptRefWillBeNoop(new DefaultSVGInterpolation(start, end, attribute));
+ return new DefaultSVGInterpolation(start, end, attribute);
}
virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const override final;

Powered by Google App Engine
This is Rietveld 408576698