Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: gpu/ipc/service/gpu_channel_manager.cc

Issue 2682723003: Make disabling accelerated VPX decoding a GPU driver bug workaround. (Closed)
Patch Set: remove flag Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/ipc/service/gpu_channel_manager.cc
diff --git a/gpu/ipc/service/gpu_channel_manager.cc b/gpu/ipc/service/gpu_channel_manager.cc
index a4882cffa560bb54f451267851f4c4dae2411f70..cfae06ddab2df46b8e028b4e461f185c01787da3 100644
--- a/gpu/ipc/service/gpu_channel_manager.cc
+++ b/gpu/ipc/service/gpu_channel_manager.cc
@@ -45,6 +45,7 @@ const int kMaxKeepAliveTimeMs = 200;
GpuChannelManager::GpuChannelManager(
const GpuPreferences& gpu_preferences,
+ const GpuDriverBugWorkarounds& workarounds,
GpuChannelManagerDelegate* delegate,
GpuWatchdogThread* watchdog,
base::SingleThreadTaskRunner* task_runner,
@@ -55,7 +56,7 @@ GpuChannelManager::GpuChannelManager(
: task_runner_(task_runner),
io_task_runner_(io_task_runner),
gpu_preferences_(gpu_preferences),
- gpu_driver_bug_workarounds_(base::CommandLine::ForCurrentProcess()),
+ gpu_driver_bug_workarounds_(workarounds),
delegate_(delegate),
watchdog_(watchdog),
shutdown_event_(shutdown_event),

Powered by Google App Engine
This is Rietveld 408576698