Index: cc/test/test_in_process_context_provider.cc |
diff --git a/cc/test/test_in_process_context_provider.cc b/cc/test/test_in_process_context_provider.cc |
index 5005c06a97575d9a0f5684580737d8c9ec7c989f..55e323959031922cf8e5aba619aadaf2edd582d7 100644 |
--- a/cc/test/test_in_process_context_provider.cc |
+++ b/cc/test/test_in_process_context_provider.cc |
@@ -35,12 +35,16 @@ scoped_ptr<gpu::GLInProcessContext> CreateTestInProcessContext() { |
gfx::GpuPreference gpu_preference = gfx::PreferDiscreteGpu; |
scoped_ptr<gpu::GLInProcessContext> context = make_scoped_ptr( |
- gpu::GLInProcessContext::CreateContext(is_offscreen, |
- gfx::AcceleratedWidget(), |
- gfx::Size(1, 1), |
- share_resources, |
- attribs, |
- gpu_preference)); |
+ gpu::GLInProcessContext::Create(NULL, |
+ NULL, |
+ is_offscreen, |
+ gfx::kNullAcceleratedWidget, |
+ gfx::Size(1, 1), |
+ NULL, |
+ share_resources, |
+ attribs, |
+ gpu_preference)); |
+ |
DCHECK(context); |
return context.Pass(); |
} |