Index: cc/test/layer_tree_pixel_test.cc |
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc |
index b21321729e91d3ecc409c074d045d9d7e3083905..34a0f8d0375efbcc2a633df1ac4afc847b82ed71 100644 |
--- a/cc/test/layer_tree_pixel_test.cc |
+++ b/cc/test/layer_tree_pixel_test.cc |
@@ -25,7 +25,7 @@ scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface() { |
using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl; |
scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context3d( |
- new WebGraphicsContext3DInProcessCommandBufferImpl( |
+ WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext( |
WebKit::WebGraphicsContext3D::Attributes())); |
return make_scoped_ptr( |
new OutputSurface(context3d.PassAs<WebKit::WebGraphicsContext3D>())); |