| Index: cc/layers/ui_resource_layer_impl_unittest.cc
|
| diff --git a/cc/layers/ui_resource_layer_impl_unittest.cc b/cc/layers/ui_resource_layer_impl_unittest.cc
|
| index 67a986de0040d2a8702c9f9f23946c4284cba1c6..727a6e1a6afb24fa9761ed20609b51f39d2ea1ca 100644
|
| --- a/cc/layers/ui_resource_layer_impl_unittest.cc
|
| +++ b/cc/layers/ui_resource_layer_impl_unittest.cc
|
| @@ -9,9 +9,9 @@
|
| #include "cc/quads/draw_quad.h"
|
| #include "cc/resources/ui_resource_bitmap.h"
|
| #include "cc/resources/ui_resource_client.h"
|
| +#include "cc/test/fake_compositor_frame_sink.h"
|
| #include "cc/test/fake_impl_task_runner_provider.h"
|
| #include "cc/test/fake_layer_tree_host_impl.h"
|
| -#include "cc/test/fake_output_surface.h"
|
| #include "cc/test/fake_ui_resource_layer_tree_host_impl.h"
|
| #include "cc/test/layer_test_common.h"
|
| #include "cc/test/test_shared_bitmap_manager.h"
|
| @@ -61,12 +61,12 @@ TEST(UIResourceLayerImplTest, VerifyDrawQuads) {
|
| 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();
|
| FakeUIResourceLayerTreeHostImpl host_impl(
|
| &task_runner_provider, &shared_bitmap_manager, &task_graph_runner);
|
| host_impl.SetVisible(true);
|
| - host_impl.InitializeRenderer(output_surface.get());
|
| + host_impl.InitializeRenderer(compositor_frame_sink.get());
|
|
|
| // Make sure we're appending quads when there are valid values.
|
| gfx::Size bitmap_size(100, 100);
|
| @@ -107,12 +107,12 @@ TEST(UIResourceLayerImplTest, VerifySetOpaqueOnSkBitmap) {
|
| 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();
|
| FakeUIResourceLayerTreeHostImpl host_impl(
|
| &task_runner_provider, &shared_bitmap_manager, &task_graph_runner);
|
| host_impl.SetVisible(true);
|
| - host_impl.InitializeRenderer(output_surface.get());
|
| + host_impl.InitializeRenderer(compositor_frame_sink.get());
|
|
|
| gfx::Size bitmap_size(100, 100);
|
| gfx::Size layer_size(100, 100);
|
| @@ -137,12 +137,12 @@ TEST(UIResourceLayerImplTest, VerifySetOpaqueOnLayer) {
|
| 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();
|
| FakeUIResourceLayerTreeHostImpl host_impl(
|
| &task_runner_provider, &shared_bitmap_manager, &task_graph_runner);
|
| host_impl.SetVisible(true);
|
| - host_impl.InitializeRenderer(output_surface.get());
|
| + host_impl.InitializeRenderer(compositor_frame_sink.get());
|
|
|
| gfx::Size bitmap_size(100, 100);
|
| gfx::Size layer_size(100, 100);
|
|
|