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 ad9cafeba40a9b096cb1ce6a1ad266606494d694..0fc2b10612c3cf4b7b34c547acdc83035c8a7966 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -60,6 +60,7 @@ |
#if defined(OS_WIN) |
#include "base/win/windows_version.h" |
#include "content/common/sandbox_win.h" |
+#include "content/public/common/prefetch_argument_win.h" |
#include "sandbox/win/src/sandbox_policy.h" |
#include "ui/gfx/switches.h" |
#endif |
@@ -1030,6 +1031,10 @@ 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) |
+ AddWindowsPrefetchArgument(PREFETCH_ID_GPU, cmd_line); |
+#endif // defined(OS_WIN) |
+ |
if (kind_ == GPU_PROCESS_KIND_UNSANDBOXED) |
cmd_line->AppendSwitch(switches::kDisableGpuSandbox); |