Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 85c9836d3d601ecdd43fa03ccc086a14623bec4c..1ac92a021401641a609cdb80d9b866d23cdd459b 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -3482,7 +3482,7 @@ class TrackingWebGraphicsContext3D : public TestWebGraphicsContext3D { |
TEST_F(LayerTreeHostImplTest, LayersFreeTextures) { |
scoped_ptr<TestWebGraphicsContext3D> context = |
- TestWebGraphicsContext3D::Create(); |
+ TestWebGraphicsContext3D::CreateShared(); |
TestWebGraphicsContext3D* context3d = context.get(); |
scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d( |
context.PassAs<WebKit::WebGraphicsContext3D>()).PassAs<OutputSurface>(); |
@@ -6022,7 +6022,7 @@ TEST_F(LayerTreeHostImplTest, DeferredInitializeSmoke) { |
EXPECT_FALSE(did_try_initialize_renderer_); |
EXPECT_TRUE(output_surface_ptr->SetAndInitializeContext3D( |
scoped_ptr<WebKit::WebGraphicsContext3D>( |
- TestWebGraphicsContext3D::Create()))); |
+ TestWebGraphicsContext3D::CreateShared()))); |
EXPECT_TRUE(did_try_initialize_renderer_); |
// Defer intialized GL draw. |