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

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: Rebase Created 5 years, 4 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
« no previous file with comments | « Source/core/animation/ImageStyleInterpolation.h ('k') | Source/core/animation/InertEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/InertEffect.h
diff --git a/Source/core/animation/InertEffect.h b/Source/core/animation/InertEffect.h
index e80215abd8438891f5e48859ed33e1358c260e18..afa54bba146f58d2459dca3292c6bafc7391818d 100644
--- a/Source/core/animation/InertEffect.h
+++ b/Source/core/animation/InertEffect.h
@@ -40,9 +40,9 @@ 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>>>&);
- EffectModel* model() const { return m_model.get(); }
+ static InertEffect* create(EffectModel*, const Timing&, bool paused, double inheritedTime);
+ void sample(HeapVector<Member<Interpolation>>*&);
+ EffectModel* model() const { return m_model; }
bool paused() const { return m_paused; }
DECLARE_VIRTUAL_TRACE();
@@ -52,8 +52,8 @@ protected:
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;
};
« no previous file with comments | « Source/core/animation/ImageStyleInterpolation.h ('k') | Source/core/animation/InertEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698