| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index 803b06a43ccfb10e45e3cd06eb84b3cc76f6dd59..31c2647fea930e062351cf5e9a9cc3a05ae70c72 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -301,8 +301,12 @@ void GpuChildThread::CreateGpuService(
|
| const gpu::GpuPreferences& gpu_preferences) {
|
| gpu_service_->Bind(std::move(request));
|
|
|
| + gpu::GpuDriverBugWorkarounds workarounds(
|
| + base::CommandLine::ForCurrentProcess());
|
| +
|
| gpu_info_.video_decode_accelerator_capabilities =
|
| - media::GpuVideoDecodeAccelerator::GetCapabilities(gpu_preferences);
|
| + media::GpuVideoDecodeAccelerator::GetCapabilities(gpu_preferences,
|
| + workarounds);
|
| gpu_info_.video_encode_accelerator_supported_profiles =
|
| media::GpuVideoEncodeAccelerator::GetSupportedProfiles(gpu_preferences);
|
| gpu_info_.jpeg_decode_accelerator_supported =
|
| @@ -334,7 +338,7 @@ void GpuChildThread::CreateGpuService(
|
| if (GetContentClient()->gpu())
|
| sync_point_manager = GetContentClient()->gpu()->GetSyncPointManager();
|
| gpu_service_->InitializeWithHost(std::move(gpu_host), gpu_preferences,
|
| - sync_point_manager,
|
| + workarounds, sync_point_manager,
|
| ChildProcess::current()->GetShutDownEvent());
|
| CHECK(gpu_service_->media_gpu_channel_manager());
|
|
|
|
|