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..6de07d27601468190e367ac0c0b258e869de8b22 100644 |
--- a/cc/test/test_in_process_context_provider.cc |
+++ b/cc/test/test_in_process_context_provider.cc |
@@ -34,13 +34,17 @@ scoped_ptr<gpu::GLInProcessContext> CreateTestInProcessContext() { |
attribs.fail_if_major_perf_caveat = false; |
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)); |
+ scoped_ptr<gpu::GLInProcessContext> context = |
+ make_scoped_ptr(gpu::GLInProcessContext::Create( |
+ scoped_refptr<gpu::InProcessCommandBuffer::Service>(), |
piman
2014/07/31 02:42:29
nit: NULL should work too.
hj.r.chung
2014/07/31 08:35:35
Done.
|
+ NULL, |
+ is_offscreen, |
+ gfx::Size(1, 1), |
+ NULL, |
+ share_resources, |
+ attribs, |
+ gpu_preference)); |
+ |
DCHECK(context); |
return context.Pass(); |
} |