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

Unified Diff: Source/core/animation/AnimatableShadow.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
Index: Source/core/animation/AnimatableShadow.cpp
diff --git a/Source/core/animation/AnimatableShadow.cpp b/Source/core/animation/AnimatableShadow.cpp
index 4d1a847f319b7de819d8fe25a3f461aac6b45a53..0d109f803e5307ae02d4dc8781eb420cf20c6b38 100644
--- a/Source/core/animation/AnimatableShadow.cpp
+++ b/Source/core/animation/AnimatableShadow.cpp
@@ -33,13 +33,13 @@
namespace WebCore {
-PassRefPtr<AnimatableValue> AnimatableShadow::interpolateTo(const AnimatableValue* value, double fraction) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableShadow::interpolateTo(const AnimatableValue* value, double fraction) const
{
const AnimatableShadow* shadowList = toAnimatableShadow(value);
return AnimatableShadow::create(ShadowList::blend(m_shadowList.get(), shadowList->m_shadowList.get(), fraction));
}
-PassRefPtr<AnimatableValue> AnimatableShadow::addWith(const AnimatableValue* value) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableShadow::addWith(const AnimatableValue* value) const
{
// FIXME: The spec doesn't specify anything for shadow in particular, but
// the default behaviour is probably not what one would expect.
@@ -52,4 +52,9 @@ bool AnimatableShadow::equalTo(const AnimatableValue* value) const
return m_shadowList == shadowList || (m_shadowList && shadowList && *m_shadowList == *shadowList);
}
+void AnimatableShadow::trace(Visitor* visitor)
+{
+ AnimatableValue::trace(visitor);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698