Chromium Code Reviews| Index: content/gpu/gpu_main.cc |
| diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
| index 227a9268a6b52c8f3a347d64f16b99aa075f00d2..5ecf891704b3ae5d60225cd70dceed2484f1583c 100644 |
| --- a/content/gpu/gpu_main.cc |
| +++ b/content/gpu/gpu_main.cc |
| @@ -306,7 +306,8 @@ int GpuMain(const MainFunctionParams& parameters) { |
| if (!CollectGraphicsInfo(gpu_info)) |
| dead_on_arrival = true; |
| -#if defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_LINUX) |
| +#if defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_LINUX) || \ |
| + defined(OS_WIN) |
|
piman
2016/04/27 22:14:05
We're in the !(OS_MACOSX), I don't think there's a
Julien Isorce Samsung
2016/04/27 23:02:50
Good point I think you are right. Since the next f
|
| // Recompute gpu driver bug workarounds. |
| // This is necessary on systems where vendor_id/device_id aren't available |
| // (Chrome OS, Android) or where workarounds may be dependent on GL_VENDOR |
| @@ -438,6 +439,8 @@ void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info, |
| command_line.GetSwitchValueASCII(switches::kGpuDriverVendor); |
| gpu_info.driver_version = |
| command_line.GetSwitchValueASCII(switches::kGpuDriverVersion); |
| + gpu_info.driver_date = |
| + command_line.GetSwitchValueASCII(switches::kGpuDriverDate); |
| gpu::ParseSecondaryGpuDevicesFromCommandLine(command_line, &gpu_info); |
| // Set active gpu device. |