Index: cc/layers/picture_layer_impl_unittest.cc |
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc |
index 855fa56328159a9fcc6a37a5fd978cbe81da14cd..8d2eda140e2a5c116d09a17f0ff8b50980365757 100644 |
--- a/cc/layers/picture_layer_impl_unittest.cc |
+++ b/cc/layers/picture_layer_impl_unittest.cc |
@@ -802,7 +802,7 @@ TEST_F(PictureLayerImplTest, ClampTilesToToMaxTileSize) { |
// Change the max texture size on the output surface context. |
scoped_ptr<TestWebGraphicsContext3D> context = |
- TestWebGraphicsContext3D::Create(); |
+ TestWebGraphicsContext3D::CreateShared(); |
context->set_max_texture_size(140); |
host_impl_.InitializeRenderer(FakeOutputSurface::Create3d( |
context.PassAs<WebKit::WebGraphicsContext3D>()).PassAs<OutputSurface>()); |
@@ -853,7 +853,7 @@ TEST_F(PictureLayerImplTest, ClampSingleTileToToMaxTileSize) { |
// Change the max texture size on the output surface context. |
scoped_ptr<TestWebGraphicsContext3D> context = |
- TestWebGraphicsContext3D::Create(); |
+ TestWebGraphicsContext3D::CreateShared(); |
context->set_max_texture_size(140); |
host_impl_.InitializeRenderer(FakeOutputSurface::Create3d( |
context.PassAs<WebKit::WebGraphicsContext3D>()).PassAs<OutputSurface>()); |