| 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 "cc/animation/property_animation_state.h" | 5 #include "cc/trees/property_animation_state.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace cc { | 9 namespace cc { |
| 10 | 10 |
| 11 PropertyAnimationState::PropertyAnimationState() {} | 11 PropertyAnimationState::PropertyAnimationState() {} |
| 12 | 12 |
| 13 PropertyAnimationState::PropertyAnimationState( | 13 PropertyAnimationState::PropertyAnimationState( |
| 14 const PropertyAnimationState& rhs) | 14 const PropertyAnimationState& rhs) |
| 15 : currently_running(rhs.currently_running), | 15 : currently_running(rhs.currently_running), |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 TargetProperties result = potentially_animating | ~currently_running; | 65 TargetProperties result = potentially_animating | ~currently_running; |
| 66 return result.all(); | 66 return result.all(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 void PropertyAnimationState::Clear() { | 69 void PropertyAnimationState::Clear() { |
| 70 currently_running.reset(); | 70 currently_running.reset(); |
| 71 potentially_animating.reset(); | 71 potentially_animating.reset(); |
| 72 } | 72 } |
| 73 | 73 |
| 74 } // namespace cc | 74 } // namespace cc |
| OLD | NEW |