Index: cc/trees/layer_tree_host_unittest_context.cc |
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc |
index 94f15c29cb398c695d389009ec1ffa768b2d753f..b3273181886ebaa780bb509758c0cccec0888af7 100644 |
--- a/cc/trees/layer_tree_host_unittest_context.cc |
+++ b/cc/trees/layer_tree_host_unittest_context.cc |
@@ -73,7 +73,7 @@ class LayerTreeHostContextTest : public LayerTreeTest { |
} |
virtual scoped_ptr<TestWebGraphicsContext3D> CreateContext3d() { |
- return TestWebGraphicsContext3D::Create(); |
+ return TestWebGraphicsContext3D::CreateShared(); |
} |
virtual scoped_ptr<OutputSurface> CreateOutputSurface() OVERRIDE { |
@@ -125,7 +125,7 @@ class LayerTreeHostContextTest : public LayerTreeTest { |
} |
scoped_ptr<TestWebGraphicsContext3D> offscreen_context3d = |
- TestWebGraphicsContext3D::Create().Pass(); |
+ TestWebGraphicsContext3D::CreateShared(); |
DCHECK(offscreen_context3d); |
context3d_->add_share_group_context(offscreen_context3d.get()); |