OLD | NEW |
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 #include "config.h" | 5 #include "config.h" |
6 #include "core/animation/SampledEffect.h" | 6 #include "core/animation/SampledEffect.h" |
7 | 7 |
8 #include "core/animation/interpolation/StyleInterpolation.h" | 8 #include "core/animation/StyleInterpolation.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 SampledEffect::SampledEffect(Animation* animation, PassOwnPtrWillBeRawPtr<WillBe
HeapVector<RefPtrWillBeMember<Interpolation> > > interpolations) | 12 SampledEffect::SampledEffect(Animation* animation, PassOwnPtrWillBeRawPtr<WillBe
HeapVector<RefPtrWillBeMember<Interpolation> > > interpolations) |
13 : m_animation(animation) | 13 : m_animation(animation) |
14 #if !ENABLE(OILPAN) | 14 #if !ENABLE(OILPAN) |
15 , m_player(animation->player()) | 15 , m_player(animation->player()) |
16 #endif | 16 #endif |
17 , m_interpolations(interpolations) | 17 , m_interpolations(interpolations) |
18 , m_playerSortInfo(animation->player()->sortInfo()) | 18 , m_playerSortInfo(animation->player()->sortInfo()) |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 void SampledEffect::trace(Visitor* visitor) | 58 void SampledEffect::trace(Visitor* visitor) |
59 { | 59 { |
60 visitor->trace(m_animation); | 60 visitor->trace(m_animation); |
61 #if ENABLE(OILPAN) | 61 #if ENABLE(OILPAN) |
62 visitor->trace(m_interpolations); | 62 visitor->trace(m_interpolations); |
63 #endif | 63 #endif |
64 } | 64 } |
65 | 65 |
66 } // namespace blink | 66 } // namespace blink |
OLD | NEW |