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 f811083e20bd8fb36365da73293f5d8ab702184c..65db1377096368724cb6a1d1015195a09dd0decf 100644 |
--- a/webkit/support/test_webkit_platform_support.cc |
+++ b/webkit/support/test_webkit_platform_support.cc |
@@ -379,11 +379,12 @@ TestWebKitPlatformSupport::createOffscreenGraphicsContext3D( |
switch (webkit_support::GetGraphicsContext3DImplementation()) { |
case webkit_support::IN_PROCESS: |
return webkit::gpu::WebGraphicsContext3DInProcessImpl::CreateForWebView( |
- attributes, NULL, false); |
+ attributes, false); |
case webkit_support::IN_PROCESS_COMMAND_BUFFER: { |
- scoped_ptr<WebKit::WebGraphicsContext3D> context( |
- new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl()); |
- if (!context->initialize(attributes, NULL, false)) |
+ scoped_ptr<webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl> |
+ context(new |
+ webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl()); |
+ if (!context->Initialize(attributes, NULL)) |
return NULL; |
return context.release(); |
} |