| 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 a0fac61c815426a6d21d92dfb0ea9e65e4a71653..16d71872033c4e6769f31a48f7774978f90888eb 100644
|
| --- a/cc/test/layer_tree_pixel_test.cc
|
| +++ b/cc/test/layer_tree_pixel_test.cc
|
| @@ -52,12 +52,9 @@ scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface(
|
| case GL_WITH_BITMAP: {
|
| CHECK(gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL));
|
|
|
| - using WebKit::WebGraphicsContext3D;
|
| - using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl;
|
| - scoped_ptr<WebGraphicsContext3D> context(
|
| - WebGraphicsContext3DInProcessCommandBufferImpl::
|
| - CreateOffscreenContext(WebGraphicsContext3D::Attributes()));
|
| - output_surface.reset(new PixelTestOutputSurface(context.Pass()));
|
| + using webkit::gpu::ContextProviderInProcess;
|
| + output_surface = make_scoped_ptr(new PixelTestOutputSurface(
|
| + ContextProviderInProcess::CreateOffscreen()));
|
| break;
|
| }
|
| }
|
|
|