| Index: gpu/config/gpu_util.cc
|
| diff --git a/gpu/config/gpu_util.cc b/gpu/config/gpu_util.cc
|
| index e27c292fecf6256c352ed0e2dfb4705547d0e2d7..b84441b4360f337fecca537bae10cecaefa6afaf 100644
|
| --- a/gpu/config/gpu_util.cc
|
| +++ b/gpu/config/gpu_util.cc
|
| @@ -69,12 +69,13 @@ void MergeFeatureSets(std::set<int>* dst, const std::set<int>& src) {
|
| }
|
|
|
| void ApplyGpuDriverBugWorkarounds(const GPUInfo& gpu_info,
|
| + const std::string& os_version,
|
| base::CommandLine* command_line) {
|
| std::unique_ptr<GpuDriverBugList> list(GpuDriverBugList::Create());
|
| list->LoadList(kGpuDriverBugListJson,
|
| GpuControlList::kCurrentOsOnly);
|
| - std::set<int> workarounds = list->MakeDecision(
|
| - GpuControlList::kOsAny, std::string(), gpu_info);
|
| + std::set<int> workarounds =
|
| + list->MakeDecision(GpuControlList::kOsAny, os_version, gpu_info);
|
| GpuDriverBugList::AppendWorkaroundsFromCommandLine(
|
| &workarounds, *command_line);
|
| if (!workarounds.empty()) {
|
|
|