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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Resize expect size of Persistent Created 5 years, 7 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 552288b3784ce6d6406a0b90e02663a7ef3ebd43..140a3f12899adbbc8bef5e779ecbb0fc862b6487 100644
--- a/Source/core/animation/animatable/AnimatableShadow.h
+++ b/Source/core/animation/animatable/AnimatableShadow.h
@@ -39,16 +39,16 @@ namespace blink {
class AnimatableShadow final : public AnimatableValue {
public:
virtual ~AnimatableShadow() { }
- static PassRefPtrWillBeRawPtr<AnimatableShadow> create(PassRefPtr<ShadowList> shadowList, const Color& currentColor)
+ static AnimatableShadow* create(PassRefPtr<ShadowList> shadowList, const Color& currentColor)
{
- return adoptRefWillBeNoop(new AnimatableShadow(shadowList, currentColor));
+ return new AnimatableShadow(shadowList, currentColor);
}
ShadowList* shadowList() const { return m_shadowList.get(); }
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ virtual AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override;
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698