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/InertAnimation.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: Build fix Created 5 years, 8 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/InertAnimation.h
diff --git a/Source/core/animation/InertAnimation.h b/Source/core/animation/InertAnimation.h
index 1b3f80a7b5f78db71712d11e2f4c1f62514c32f8..358c99d80d02b78f68d265d7c812a624535d58b5 100644
--- a/Source/core/animation/InertAnimation.h
+++ b/Source/core/animation/InertAnimation.h
@@ -40,8 +40,8 @@ namespace blink {
class CORE_EXPORT InertAnimation final : public AnimationNode {
public:
- static PassRefPtrWillBeRawPtr<InertAnimation> create(PassRefPtrWillBeRawPtr<AnimationEffect>, const Timing&, bool paused, double inheritedTime);
- void sample(OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>>&);
+ static InertAnimation* create(AnimationEffect*, const Timing&, bool paused, double inheritedTime);
+ void sample(HeapVector<Member<Interpolation>>*);
AnimationEffect* effect() const { return m_effect.get(); }
bool paused() const { return m_paused; }
@@ -52,8 +52,8 @@ protected:
virtual double calculateTimeToEffectChange(bool forwards, double inheritedTime, double timeToNextIteration) const override;
private:
- InertAnimation(PassRefPtrWillBeRawPtr<AnimationEffect>, const Timing&, bool paused, double inheritedTime);
- RefPtrWillBeMember<AnimationEffect> m_effect;
+ InertAnimation(AnimationEffect*, const Timing&, bool paused, double inheritedTime);
+ Member<AnimationEffect> m_effect;
bool m_paused;
double m_inheritedTime;
};

Powered by Google App Engine
This is Rietveld 408576698