| 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 9b819ab022db3b874b6cd0ddb02385822a82d795..68a042d54d09a811c396bb3343e11fa929618d18 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*
|
|
|