Index: cc/trees/layer_tree_host_common_unittest.cc |
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc |
index 834094dcbdf5b722bf4a67b27126c6ec9c999f58..b36e461857f33b5190c26535237c012a9d684eac 100644 |
--- a/cc/trees/layer_tree_host_common_unittest.cc |
+++ b/cc/trees/layer_tree_host_common_unittest.cc |
@@ -31,11 +31,11 @@ |
#include "cc/proto/begin_main_frame_and_commit_state.pb.h" |
#include "cc/proto/gfx_conversions.h" |
#include "cc/test/animation_test_common.h" |
+#include "cc/test/fake_compositor_frame_sink.h" |
#include "cc/test/fake_content_layer_client.h" |
#include "cc/test/fake_impl_task_runner_provider.h" |
#include "cc/test/fake_layer_tree_host.h" |
#include "cc/test/fake_layer_tree_host_impl.h" |
-#include "cc/test/fake_output_surface.h" |
#include "cc/test/fake_picture_layer.h" |
#include "cc/test/fake_picture_layer_impl.h" |
#include "cc/test/geometry_test_utils.h" |
@@ -3508,8 +3508,8 @@ TEST_F(LayerTreeHostCommonTest, OcclusionBySiblingOfTarget) { |
FakeImplTaskRunnerProvider task_runner_provider; |
TestSharedBitmapManager shared_bitmap_manager; |
TestTaskGraphRunner task_graph_runner; |
- std::unique_ptr<OutputSurface> output_surface = |
- FakeOutputSurface::CreateDelegating3d(); |
+ std::unique_ptr<CompositorFrameSink> compositor_frame_sink = |
+ FakeCompositorFrameSink::Create3d(); |
FakeLayerTreeHostImpl host_impl(&task_runner_provider, &shared_bitmap_manager, |
&task_graph_runner); |
@@ -3560,7 +3560,7 @@ TEST_F(LayerTreeHostCommonTest, OcclusionBySiblingOfTarget) { |
root->test_properties()->AddChild(std::move(child)); |
host_impl.active_tree()->SetRootLayerForTesting(std::move(root)); |
host_impl.SetVisible(true); |
- host_impl.InitializeRenderer(output_surface.get()); |
+ host_impl.InitializeRenderer(compositor_frame_sink.get()); |
host_impl.active_tree()->BuildLayerListAndPropertyTreesForTesting(); |
bool update_lcd_text = false; |
host_impl.active_tree()->UpdateDrawProperties(update_lcd_text); |
@@ -3586,8 +3586,8 @@ TEST_F(LayerTreeHostCommonTest, |
FakeImplTaskRunnerProvider task_runner_provider; |
TestSharedBitmapManager shared_bitmap_manager; |
TestTaskGraphRunner task_graph_runner; |
- std::unique_ptr<OutputSurface> output_surface = |
- FakeOutputSurface::CreateDelegating3d(); |
+ std::unique_ptr<CompositorFrameSink> compositor_frame_sink = |
+ FakeCompositorFrameSink::Create3d(); |
FakeLayerTreeHostImpl host_impl(&task_runner_provider, &shared_bitmap_manager, |
&task_graph_runner); |
@@ -3631,7 +3631,7 @@ TEST_F(LayerTreeHostCommonTest, |
root->test_properties()->AddChild(std::move(occluding_child)); |
host_impl.active_tree()->SetRootLayerForTesting(std::move(root)); |
host_impl.SetVisible(true); |
- host_impl.InitializeRenderer(output_surface.get()); |
+ host_impl.InitializeRenderer(compositor_frame_sink.get()); |
host_impl.active_tree()->BuildLayerListAndPropertyTreesForTesting(); |
bool update_lcd_text = false; |
host_impl.active_tree()->UpdateDrawProperties(update_lcd_text); |