Index: ui/compositor/test/in_process_context_provider.cc |
diff --git a/ui/compositor/test/in_process_context_provider.cc b/ui/compositor/test/in_process_context_provider.cc |
index 18978b51ab4df66ff5a84b116d861845d253bda5..d59736ff86d2730a1cf6cb39897fe317b73bd4f4 100644 |
--- a/ui/compositor/test/in_process_context_provider.cc |
+++ b/ui/compositor/test/in_process_context_provider.cc |
@@ -93,18 +93,13 @@ bool InProcessContextProvider::BindToCurrentThread() { |
if (!context_) { |
gfx::GpuPreference gpu_preference = gfx::PreferDiscreteGpu; |
context_.reset(gpu::GLInProcessContext::Create( |
- nullptr, /* service */ |
- nullptr, /* surface */ |
- true, /* is_offscreen */ |
- window_, |
- gfx::Size(1, 1), |
- nullptr, /* share_context */ |
- true, /* share_resources */ |
- attribs_, |
- gpu_preference, |
- gpu::GLInProcessContextSharedMemoryLimits(), |
- nullptr, |
- nullptr)); |
+ nullptr, /* service */ |
+ nullptr, /* surface */ |
+ !window_, /* is_offscreen */ |
+ window_, gfx::Size(1, 1), nullptr, /* share_context */ |
tfarina
2015/02/28 00:19:28
I know this is was formatted by clang. But one arg
danakj
2015/02/28 00:21:09
i don't disagree.
|
+ true, /* share_resources */ |
+ attribs_, gpu_preference, gpu::GLInProcessContextSharedMemoryLimits(), |
+ nullptr, nullptr)); |
if (!context_) |
return false; |