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

Unified Diff: gpu/config/gpu_util.cc

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/config/gpu_util.cc
diff --git a/gpu/config/gpu_util.cc b/gpu/config/gpu_util.cc
index 80a99fba4e681c87126918fc8c6ed07aabae2755..cffeda799a3b7e712735ce8ae613f42db4e068d9 100644
--- a/gpu/config/gpu_util.cc
+++ b/gpu/config/gpu_util.cc
@@ -60,7 +60,7 @@ void ApplyGpuDriverBugWorkarounds(base::CommandLine* command_line) {
ApplyGpuDriverBugWorkarounds(gpu_info, command_line);
}
-void ApplyGpuDriverBugWorkarounds(const GPUInfo& gpu_info,
+void ApplyGpuDriverBugWorkarounds(GPUInfo& gpu_info,
base::CommandLine* command_line) {
scoped_ptr<GpuDriverBugList> list(GpuDriverBugList::Create());
list->LoadList(kGpuDriverBugListJson,
@@ -73,6 +73,7 @@ void ApplyGpuDriverBugWorkarounds(const GPUInfo& gpu_info,
command_line->AppendSwitchASCII(switches::kGpuDriverBugWorkarounds,
IntSetToString(workarounds));
}
+ gpu_info.driver_bugs_workarounds = workarounds;
}
void StringToFeatureSet(
« content/test/gpu/gpu_tests/driver_bug_workarounds.py ('K') | « gpu/config/gpu_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698