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

Unified Diff: Source/core/animation/animatable/AnimatableImage.cpp

Issue 1305383006: Oilpan: Unship CSSValues and AnimatableValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/animatable/AnimatableImage.cpp
diff --git a/Source/core/animation/animatable/AnimatableImage.cpp b/Source/core/animation/animatable/AnimatableImage.cpp
index 0f38302aaaa94d0971417e3f69e0f0a8a84aec10..216345c1d6a337e06334dea656f3b10da85a8e90 100644
--- a/Source/core/animation/animatable/AnimatableImage.cpp
+++ b/Source/core/animation/animatable/AnimatableImage.cpp
@@ -47,7 +47,7 @@ bool AnimatableImage::usesDefaultInterpolationWith(const AnimatableValue* value)
return false;
}
-PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue* value, double fraction) const
+PassRefPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue* value, double fraction) const
{
if (fraction <= 0 || fraction >= 1 || usesDefaultInterpolationWith(value))
return defaultInterpolateTo(this, value, fraction);
@@ -55,7 +55,7 @@ PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableImage::interpolateTo(const Ani
CSSValue* fromValue = toCSSValue();
CSSValue* toValue = toAnimatableImage(value)->toCSSValue();
- RefPtrWillBeRawPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(fromValue, toValue);
+ RefPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(fromValue, toValue);
crossfadeValue->setPercentage(CSSPrimitiveValue::create(fraction, CSSPrimitiveValue::UnitType::Number));
return create(crossfadeValue);
}
« no previous file with comments | « Source/core/animation/animatable/AnimatableImage.h ('k') | Source/core/animation/animatable/AnimatableLength.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698