| 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 <stddef.h> |
| 6 |
| 5 #include "cc/test/begin_frame_args_test.h" | 7 #include "cc/test/begin_frame_args_test.h" |
| 6 #include "cc/test/fake_layer_tree_host_impl.h" | 8 #include "cc/test/fake_layer_tree_host_impl.h" |
| 7 #include "cc/test/layer_tree_settings_for_testing.h" | 9 #include "cc/test/layer_tree_settings_for_testing.h" |
| 8 #include "cc/test/test_shared_bitmap_manager.h" | 10 #include "cc/test/test_shared_bitmap_manager.h" |
| 9 #include "cc/trees/layer_tree_impl.h" | 11 #include "cc/trees/layer_tree_impl.h" |
| 10 | 12 |
| 11 namespace cc { | 13 namespace cc { |
| 12 | 14 |
| 13 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( | 15 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( |
| 14 TaskRunnerProvider* task_runner_provider, | 16 TaskRunnerProvider* task_runner_provider, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 101 |
| 100 void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties( | 102 void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties( |
| 101 LayerTreeImpl* layerTree) { | 103 LayerTreeImpl* layerTree) { |
| 102 RecursiveUpdateNumChildren(layerTree->root_layer()); | 104 RecursiveUpdateNumChildren(layerTree->root_layer()); |
| 103 bool update_lcd_text = false; | 105 bool update_lcd_text = false; |
| 104 layerTree->BuildPropertyTreesForTesting(); | 106 layerTree->BuildPropertyTreesForTesting(); |
| 105 layerTree->UpdateDrawProperties(update_lcd_text); | 107 layerTree->UpdateDrawProperties(update_lcd_text); |
| 106 } | 108 } |
| 107 | 109 |
| 108 } // namespace cc | 110 } // namespace cc |
| OLD | NEW |