| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "platform/animation/CompositorAnimation.h" | 5 #include "platform/animation/CompositorAnimation.h" |
| 6 | 6 |
| 7 #include "cc/animation/animation.h" | 7 #include "cc/animation/animation.h" |
| 8 #include "cc/animation/animation_curve.h" | 8 #include "cc/animation/animation_curve.h" |
| 9 #include "cc/animation/animation_id_provider.h" | 9 #include "cc/animation/animation_id_provider.h" |
| 10 #include "platform/animation/CompositorAnimationCurve.h" | 10 #include "platform/animation/CompositorAnimationCurve.h" |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 break; | 194 break; |
| 195 } | 195 } |
| 196 } | 196 } |
| 197 | 197 |
| 198 scoped_ptr<cc::Animation> CompositorAnimation::passAnimation() | 198 scoped_ptr<cc::Animation> CompositorAnimation::passAnimation() |
| 199 { | 199 { |
| 200 m_animation->set_needs_synchronized_start_time(true); | 200 m_animation->set_needs_synchronized_start_time(true); |
| 201 return std::move(m_animation); | 201 return std::move(m_animation); |
| 202 } | 202 } |
| 203 | 203 |
| 204 cc::Animation* CompositorAnimation::releaseCCAnimation() | |
| 205 { | |
| 206 m_animation->set_needs_synchronized_start_time(true); | |
| 207 return m_animation.release(); | |
| 208 } | |
| 209 | |
| 210 } // namespace blink | 204 } // namespace blink |
| OLD | NEW |