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

Unified Diff: Source/core/animation/AnimatableSVGPaint.cpp

Issue 204743002: Oilpan: Move AnimatableValue's hierarchy to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/core/animation/AnimatableSVGPaint.h ('k') | Source/core/animation/AnimatableShadow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableSVGPaint.cpp
diff --git a/Source/core/animation/AnimatableSVGPaint.cpp b/Source/core/animation/AnimatableSVGPaint.cpp
index e497ce4b709f36cf00fcccb0d7138685f07a8293..b55cab787a47b6ae12a87a9ed30c184d41f5f321 100644
--- a/Source/core/animation/AnimatableSVGPaint.cpp
+++ b/Source/core/animation/AnimatableSVGPaint.cpp
@@ -39,7 +39,7 @@ bool AnimatableSVGPaint::usesDefaultInterpolationWith(const AnimatableValue* val
return paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR || svgPaint->paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR;
}
-PassRefPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const
{
const AnimatableSVGPaint* svgPaint = toAnimatableSVGPaint(value);
if (paintType() == SVGPaint::SVG_PAINTTYPE_RGBCOLOR && svgPaint->paintType() == SVGPaint::SVG_PAINTTYPE_RGBCOLOR) {
@@ -49,7 +49,7 @@ PassRefPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableVa
return defaultInterpolateTo(this, value, fraction);
}
-PassRefPtr<AnimatableValue> AnimatableSVGPaint::addWith(const AnimatableValue* value) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::addWith(const AnimatableValue* value) const
{
const AnimatableSVGPaint* svgPaint = toAnimatableSVGPaint(value);
if (paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR || svgPaint->paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR) {
« no previous file with comments | « Source/core/animation/AnimatableSVGPaint.h ('k') | Source/core/animation/AnimatableShadow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698