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

Side by Side Diff: cc/trees/layer_tree_impl.cc

Issue 1995133002: cc : Delete ResetFlags in property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698