Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index 8de9cd3066d0fed341ef82cf4c6b346ac7023dc3..05698f2758b9fcae4adab228b0c8be0000823602 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -1028,6 +1028,11 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) { |
cmd_line->AppendSwitchASCII(switches::kProcessType, switches::kGpuProcess); |
cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); |
+#if defined(OS_WIN) |
+ if (GetContentClient()->browser()->ShouldUseWindowsPrefetchArgument()) |
+ cmd_line->AppendArg(switches::kPrefetchArgumentGpu); |
+#endif // defined(OS_WIN) |
+ |
if (kind_ == GPU_PROCESS_KIND_UNSANDBOXED) |
cmd_line->AppendSwitch(switches::kDisableGpuSandbox); |