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 a12bd6a5f200dc0333863818253897cee906e488..c615405b0a42badc4cf0406b886e237c18e18918 100644 |
--- a/webkit/support/test_webkit_platform_support.cc |
+++ b/webkit/support/test_webkit_platform_support.cc |
@@ -371,7 +371,8 @@ WebKit::WebGraphicsContext3D* |
TestWebKitPlatformSupport::createOffscreenGraphicsContext3D( |
const WebKit::WebGraphicsContext3D::Attributes& attributes) { |
using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl; |
- return new WebGraphicsContext3DInProcessCommandBufferImpl(attributes); |
+ return WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext( |
+ attributes); |
} |
WebKit::WebGraphicsContext3D* |