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

Unified Diff: Source/core/animation/InertEffect.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/InertEffect.h
diff --git a/Source/core/animation/InertEffect.h b/Source/core/animation/InertEffect.h
index b81d8434bfcc50d7f93886d66cef95d2a4e1d61b..8b486b4eb9db3e8dbb66534ac943efbbf1ce8fc6 100644
--- a/Source/core/animation/InertEffect.h
+++ b/Source/core/animation/InertEffect.h
@@ -40,8 +40,8 @@ namespace blink {
class CORE_EXPORT InertEffect final : public AnimationEffect {
public:
- static PassRefPtrWillBeRawPtr<InertEffect> create(PassRefPtrWillBeRawPtr<EffectModel>, const Timing&, bool paused, double inheritedTime);
- void sample(OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>>&);
+ static InertEffect* create(EffectModel*, const Timing&, bool paused, double inheritedTime);
+ void sample(HeapVector<Member<Interpolation>>*&);
EffectModel* model() const { return m_model.get(); }
bool paused() const { return m_paused; }
@@ -52,8 +52,8 @@ protected:
virtual double calculateTimeToEffectChange(bool forwards, double inheritedTime, double timeToNextIteration) const override;
private:
- InertEffect(PassRefPtrWillBeRawPtr<EffectModel>, const Timing&, bool paused, double inheritedTime);
- RefPtrWillBeMember<EffectModel> m_model;
+ InertEffect(EffectModel*, const Timing&, bool paused, double inheritedTime);
+ Member<EffectModel> m_model;
bool m_paused;
double m_inheritedTime;
};

Powered by Google App Engine
This is Rietveld 408576698