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 0e04da69b964129938341e42b3fb027892e0f3b8..a5e3ed7687f5e171a189029da68a132c57255d07 100644 |
--- a/cc/test/layer_tree_pixel_test.cc |
+++ b/cc/test/layer_tree_pixel_test.cc |
@@ -23,8 +23,8 @@ scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface() { |
using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl; |
scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context3d( |
- new WebGraphicsContext3DInProcessCommandBufferImpl); |
- context3d->Initialize(WebKit::WebGraphicsContext3D::Attributes(), NULL); |
+ new WebGraphicsContext3DInProcessCommandBufferImpl( |
+ WebKit::WebGraphicsContext3D::Attributes())); |
return make_scoped_ptr( |
new OutputSurface(context3d.PassAs<WebKit::WebGraphicsContext3D>())); |
} |