OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/layer_tree_host_common_test.h" | 5 #include "cc/test/layer_tree_host_common_test.h" |
6 | 6 |
7 #include "cc/layers/layer.h" | 7 #include "cc/layers/layer.h" |
8 #include "cc/layers/layer_impl.h" | 8 #include "cc/layers/layer_impl.h" |
9 #include "cc/test/fake_layer_tree_host.h" | 9 #include "cc/test/fake_layer_tree_host.h" |
10 #include "cc/trees/draw_property_utils.h" | 10 #include "cc/trees/draw_property_utils.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 ++render_surface_layer_list_count_; | 154 ++render_surface_layer_list_count_; |
155 inputs.current_render_surface_layer_list_id = | 155 inputs.current_render_surface_layer_list_id = |
156 render_surface_layer_list_count_; | 156 render_surface_layer_list_count_; |
157 | 157 |
158 LayerTreeHostCommon::CalculateDrawProperties(&inputs); | 158 LayerTreeHostCommon::CalculateDrawProperties(&inputs); |
159 } | 159 } |
160 | 160 |
161 scoped_ptr<FakeLayerTreeHost> | 161 scoped_ptr<FakeLayerTreeHost> |
162 LayerTreeHostCommonTestBase::CreateFakeLayerTreeHost() { | 162 LayerTreeHostCommonTestBase::CreateFakeLayerTreeHost() { |
163 return FakeLayerTreeHost::Create(&client_); | 163 return FakeLayerTreeHost::Create(&client_, &task_graph_runner_); |
164 } | 164 } |
165 | 165 |
166 } // namespace cc | 166 } // namespace cc |
OLD | NEW |