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

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

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/AnimatableColor.cpp
diff --git a/Source/core/animation/animatable/AnimatableColor.cpp b/Source/core/animation/animatable/AnimatableColor.cpp
index 337fe3c96dc09bcdb403bd4a424079ddb1fe75f3..dc3d990c8366d045b968b3ab490fa2727b3e6633 100644
--- a/Source/core/animation/animatable/AnimatableColor.cpp
+++ b/Source/core/animation/animatable/AnimatableColor.cpp
@@ -74,12 +74,12 @@ bool AnimatableColorImpl::operator==(const AnimatableColorImpl& other) const
&& m_alpha == other.m_alpha;
}
-PassRefPtrWillBeRawPtr<AnimatableColor> AnimatableColor::create(const AnimatableColorImpl& color, const AnimatableColorImpl& visitedLinkColor)
+PassRefPtr<AnimatableColor> AnimatableColor::create(const AnimatableColorImpl& color, const AnimatableColorImpl& visitedLinkColor)
{
- return adoptRefWillBeNoop(new AnimatableColor(color, visitedLinkColor));
+ return adoptRef(new AnimatableColor(color, visitedLinkColor));
}
-PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableColor::interpolateTo(const AnimatableValue* value, double fraction) const
+PassRefPtr<AnimatableValue> AnimatableColor::interpolateTo(const AnimatableValue* value, double fraction) const
{
const AnimatableColor* color = toAnimatableColor(value);
return create(m_color.interpolateTo(color->m_color, fraction),

Powered by Google App Engine
This is Rietveld 408576698