Index: cc/trees/layer_tree_host_unittest.cc |
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
index 60d3d8db1da2cf062ae28b452ca9b97ee85b833a..4332ecc40904d64d58ae8e70e4deff2fbc985def 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -2944,8 +2944,10 @@ class LayerTreeHostTestDeferredInitialize : public LayerTreeHostTest { |
static_cast<FakeOutputSurface*>(host_impl->output_surface()); |
scoped_refptr<TestContextProvider> context_provider = |
TestContextProvider::Create(); // Not bound to thread. |
- EXPECT_TRUE( |
- fake_output_surface->InitializeAndSetContext3d(context_provider)); |
+ scoped_refptr<TestContextProvider> worker_context_provider = |
+ TestContextProvider::Create(); // Not bound to thread. |
+ EXPECT_TRUE(fake_output_surface->InitializeAndSetContext3d( |
+ context_provider, worker_context_provider)); |
did_initialize_gl_ = true; |
} |