Index: webkit/tools/test_shell/test_shell_webkit_init.cc |
diff --git a/webkit/tools/test_shell/test_shell_webkit_init.cc b/webkit/tools/test_shell/test_shell_webkit_init.cc |
index f09e117638c3a93f199cbf67f87722525dedfbc9..2dcbb6c0f6cd5db7fffdd2de5aa7a9751d287821 100644 |
--- a/webkit/tools/test_shell/test_shell_webkit_init.cc |
+++ b/webkit/tools/test_shell/test_shell_webkit_init.cc |
@@ -266,7 +266,8 @@ WebKit::WebIDBFactory* TestShellWebKitInit::idbFactory() { |
WebKit::WebGraphicsContext3D* |
TestShellWebKitInit::createOffscreenGraphicsContext3D( |
const WebKit::WebGraphicsContext3D::Attributes& attributes) { |
- return new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl( |
+ using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl; |
+ return WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext( |
attributes); |
} |