OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/test/begin_frame_args_test.h" | 5 #include "cc/test/begin_frame_args_test.h" |
6 #include "cc/test/fake_layer_tree_host_impl.h" | 6 #include "cc/test/fake_layer_tree_host_impl.h" |
7 #include "cc/test/test_shared_bitmap_manager.h" | 7 #include "cc/test/test_shared_bitmap_manager.h" |
8 #include "cc/trees/layer_tree_impl.h" | 8 #include "cc/trees/layer_tree_impl.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree() { | 86 void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree() { |
87 UpdateNumChildrenAndDrawProperties(active_tree()); | 87 UpdateNumChildrenAndDrawProperties(active_tree()); |
88 } | 88 } |
89 | 89 |
90 void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties( | 90 void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties( |
91 LayerTreeImpl* layerTree) { | 91 LayerTreeImpl* layerTree) { |
92 RecursiveUpdateNumChildren(layerTree->root_layer()); | 92 RecursiveUpdateNumChildren(layerTree->root_layer()); |
93 bool update_lcd_text = false; | 93 bool update_lcd_text = false; |
94 layerTree->BuildPropertyTreesForTesting(); | |
95 layerTree->UpdateDrawProperties(update_lcd_text); | 94 layerTree->UpdateDrawProperties(update_lcd_text); |
96 } | 95 } |
97 | 96 |
98 } // namespace cc | 97 } // namespace cc |
OLD | NEW |