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 8dab1af16ef499518470c915e0f77f2f0026ec2c..2c59c74f2ff7c00afdcb541feddfb4c9f2d2e7b6 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -2942,8 +2942,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; |
} |