| Index: webkit/support/test_webkit_platform_support.cc
|
| diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
|
| index 76bfda1b7cf0bae2859d33bc7b92a619223a0e04..60bc05c5025ac643937d07fa54c081a59a5ac12b 100644
|
| --- a/webkit/support/test_webkit_platform_support.cc
|
| +++ b/webkit/support/test_webkit_platform_support.cc
|
| @@ -374,11 +374,7 @@ WebKit::WebGraphicsContext3D*
|
| TestWebKitPlatformSupport::createOffscreenGraphicsContext3D(
|
| const WebKit::WebGraphicsContext3D::Attributes& attributes) {
|
| using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl;
|
| - scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context(
|
| - new WebGraphicsContext3DInProcessCommandBufferImpl());
|
| - if (!context->Initialize(attributes, NULL))
|
| - return NULL;
|
| - return context.release();
|
| + return new WebGraphicsContext3DInProcessCommandBufferImpl(attributes);
|
| }
|
|
|
| WebKit::WebGraphicsContext3D*
|
|
|