Index: cc/layers/render_surface_unittest.cc |
diff --git a/cc/layers/render_surface_unittest.cc b/cc/layers/render_surface_unittest.cc |
index 5ecf2f7bac8f1c3993b1af81027a1e69609e0c70..f4b94115d90afbcbe1132ec622e130d77181019e 100644 |
--- a/cc/layers/render_surface_unittest.cc |
+++ b/cc/layers/render_surface_unittest.cc |
@@ -8,7 +8,7 @@ |
#include "cc/layers/render_pass_sink.h" |
#include "cc/layers/render_surface_impl.h" |
#include "cc/quads/shared_quad_state.h" |
-#include "cc/test/fake_impl_proxy.h" |
+#include "cc/test/fake_impl_task_runner_provider.h" |
#include "cc/test/fake_layer_tree_host_impl.h" |
#include "cc/test/geometry_test_utils.h" |
#include "cc/test/mock_occlusion_tracker.h" |
@@ -37,10 +37,10 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) { |
// This test checks that SurfacePropertyChanged() has the correct behavior. |
// |
- FakeImplProxy proxy; |
+ FakeImplTaskRunnerProvider task_runner_provider; |
TestSharedBitmapManager shared_bitmap_manager; |
TestTaskGraphRunner task_graph_runner; |
- FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, |
+ FakeLayerTreeHostImpl host_impl(&task_runner_provider, &shared_bitmap_manager, |
&task_graph_runner); |
scoped_ptr<LayerImpl> owning_layer = |
LayerImpl::Create(host_impl.active_tree(), 1); |
@@ -84,10 +84,10 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) { |
} |
TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectSharedQuadState) { |
- FakeImplProxy proxy; |
+ FakeImplTaskRunnerProvider task_runner_provider; |
TestSharedBitmapManager shared_bitmap_manager; |
TestTaskGraphRunner task_graph_runner; |
- FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, |
+ FakeLayerTreeHostImpl host_impl(&task_runner_provider, &shared_bitmap_manager, |
&task_graph_runner); |
scoped_ptr<LayerImpl> root_layer = |
LayerImpl::Create(host_impl.active_tree(), 1); |
@@ -151,10 +151,10 @@ class TestRenderPassSink : public RenderPassSink { |
}; |
TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectRenderPass) { |
- FakeImplProxy proxy; |
+ FakeImplTaskRunnerProvider task_runner_provider; |
TestSharedBitmapManager shared_bitmap_manager; |
TestTaskGraphRunner task_graph_runner; |
- FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, |
+ FakeLayerTreeHostImpl host_impl(&task_runner_provider, &shared_bitmap_manager, |
&task_graph_runner); |
scoped_ptr<LayerImpl> root_layer = |
LayerImpl::Create(host_impl.active_tree(), 1); |