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

Side by Side Diff: Source/core/animation/InterpolationEffect.h

Issue 208283005: Make InterpolationRecord GarbageCollectedFinalized (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InterpolationEffect_h 5 #ifndef InterpolationEffect_h
6 #define InterpolationEffect_h 6 #define InterpolationEffect_h
7 7
8 #include "core/animation/Interpolation.h" 8 #include "core/animation/Interpolation.h"
9 #include "platform/animation/TimingFunction.h" 9 #include "platform/animation/TimingFunction.h"
10 #include "wtf/PassOwnPtr.h" 10 #include "wtf/PassOwnPtr.h"
(...skipping 12 matching lines...) Expand all
23 m_interpolations.append(InterpolationRecord::create(interpolation, easin g, start, end, applyFrom, applyTo)); 23 m_interpolations.append(InterpolationRecord::create(interpolation, easin g, start, end, applyFrom, applyTo));
24 } 24 }
25 25
26 void trace(Visitor*); 26 void trace(Visitor*);
27 27
28 private: 28 private:
29 InterpolationEffect() 29 InterpolationEffect()
30 { 30 {
31 } 31 }
32 32
33 class InterpolationRecord : public NoBaseWillBeGarbageCollected<Interpolatio nRecord> { 33 class InterpolationRecord : public NoBaseWillBeGarbageCollectedFinalized<Int erpolationRecord> {
34 public: 34 public:
35 RefPtrWillBeMember<Interpolation> m_interpolation; 35 RefPtrWillBeMember<Interpolation> m_interpolation;
36 RefPtr<TimingFunction> m_easing; 36 RefPtr<TimingFunction> m_easing;
37 double m_start; 37 double m_start;
38 double m_end; 38 double m_end;
39 double m_applyFrom; 39 double m_applyFrom;
40 double m_applyTo; 40 double m_applyTo;
41 41
42 static PassOwnPtrWillBeRawPtr<InterpolationRecord> create(PassRefPtrWill BeRawPtr<Interpolation> interpolation, PassRefPtr<TimingFunction> easing, double start, double end, double applyFrom, double applyTo) 42 static PassOwnPtrWillBeRawPtr<InterpolationRecord> create(PassRefPtrWill BeRawPtr<Interpolation> interpolation, PassRefPtr<TimingFunction> easing, double start, double end, double applyFrom, double applyTo)
43 { 43 {
(...skipping 13 matching lines...) Expand all
57 { 57 {
58 } 58 }
59 }; 59 };
60 60
61 WillBeHeapVector<OwnPtrWillBeMember<InterpolationRecord> > m_interpolations; 61 WillBeHeapVector<OwnPtrWillBeMember<InterpolationRecord> > m_interpolations;
62 }; 62 };
63 63
64 } 64 }
65 65
66 #endif 66 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698