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

Unified Diff: Source/core/animation/animatable/AnimatableShadow.h

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/AnimatableShadow.h
diff --git a/Source/core/animation/animatable/AnimatableShadow.h b/Source/core/animation/animatable/AnimatableShadow.h
index ba93fd1f7ef9563cbe6155db46b0365f37084ee9..15e05a4c5280d669bfddf4f90e4dcca2cf1ea652 100644
--- a/Source/core/animation/animatable/AnimatableShadow.h
+++ b/Source/core/animation/animatable/AnimatableShadow.h
@@ -39,16 +39,14 @@ namespace blink {
class AnimatableShadow final : public AnimatableValue {
public:
~AnimatableShadow() override { }
- static PassRefPtrWillBeRawPtr<AnimatableShadow> create(PassRefPtr<ShadowList> shadowList, const Color& currentColor)
+ static PassRefPtr<AnimatableShadow> create(PassRefPtr<ShadowList> shadowList, const Color& currentColor)
{
- return adoptRefWillBeNoop(new AnimatableShadow(shadowList, currentColor));
+ return adoptRef(new AnimatableShadow(shadowList, currentColor));
}
ShadowList* shadowList() const { return m_shadowList.get(); }
- DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
-
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698