Index: services/ui/gpu/gpu_main.cc |
diff --git a/services/ui/gpu/gpu_main.cc b/services/ui/gpu/gpu_main.cc |
index a87c7cbe39cdfe1054435e7b8eae149a32dd706b..24e668d3ab41c10b7aed262390897a056a4d7ec4 100644 |
--- a/services/ui/gpu/gpu_main.cc |
+++ b/services/ui/gpu/gpu_main.cc |
@@ -220,7 +220,10 @@ void GpuMain::CreateGpuServiceOnGpuThread( |
const gpu::GpuPreferences& preferences) { |
mojom::GpuHostPtr gpu_host; |
gpu_host.Bind(std::move(gpu_host_info)); |
- gpu_service_->InitializeWithHost(std::move(gpu_host), preferences); |
+ gpu::GpuDriverBugWorkarounds workarounds( |
Zhenyao Mo
2017/02/13 22:14:27
We actually recomputed workarounds on GPU process
|
+ base::CommandLine::ForCurrentProcess()); |
+ gpu_service_->InitializeWithHost(std::move(gpu_host), preferences, |
+ workarounds); |
gpu_service_->Bind(std::move(request)); |
if (pending_display_compositor_request_.is_pending()) { |