| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/trees/layer_tree_impl.h" | 5 #include "cc/trees/layer_tree_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2086 *bounds = gfx::BoxF(); | 2086 *bounds = gfx::BoxF(); |
| 2087 return layer_tree_host_impl_->animation_host() | 2087 return layer_tree_host_impl_->animation_host() |
| 2088 ->TransformAnimationBoundsForBox(layer->id(), box, bounds); | 2088 ->TransformAnimationBoundsForBox(layer->id(), box, bounds); |
| 2089 } | 2089 } |
| 2090 | 2090 |
| 2091 void LayerTreeImpl::ScrollAnimationAbort(bool needs_completion) { | 2091 void LayerTreeImpl::ScrollAnimationAbort(bool needs_completion) { |
| 2092 layer_tree_host_impl_->animation_host()->ScrollAnimationAbort( | 2092 layer_tree_host_impl_->animation_host()->ScrollAnimationAbort( |
| 2093 needs_completion); | 2093 needs_completion); |
| 2094 } | 2094 } |
| 2095 | 2095 |
| 2096 void LayerTreeImpl::ResetAllChangeTracking(PropertyTrees::ResetFlags flag) { | 2096 void LayerTreeImpl::ResetAllChangeTracking() { |
| 2097 layers_that_should_push_properties_.clear(); | 2097 layers_that_should_push_properties_.clear(); |
| 2098 for (auto* layer : *this) | 2098 for (auto* layer : *this) |
| 2099 layer->ResetChangeTracking(); | 2099 layer->ResetChangeTracking(); |
| 2100 property_trees_.ResetAllChangeTracking(flag); | 2100 property_trees_.ResetAllChangeTracking(); |
| 2101 } | 2101 } |
| 2102 | 2102 |
| 2103 } // namespace cc | 2103 } // namespace cc |
| OLD | NEW |