Index: components/crash/content/app/crashpad_win.cc |
diff --git a/components/crash/content/app/crashpad_win.cc b/components/crash/content/app/crashpad_win.cc |
index 1628ab6a9d5cbfc1f8945e24cdee952fea8f4a2c..b3a4e97dd6f69baae9b1bc735746c6ad9004f260 100644 |
--- a/components/crash/content/app/crashpad_win.cc |
+++ b/components/crash/content/app/crashpad_win.cc |
@@ -84,6 +84,10 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client, |
exe_file = exe_dir.Append(FILE_PATH_LITERAL("crashpad_handler.exe")); |
} else { |
arguments.push_back("--type=crashpad-handler"); |
+ |
+ // Add a prefetch argument to avoid polluting the prefetch profile of the |
+ // browser process. |
+ arguments.push_back("/prefetch:8"); |
gab
2016/01/26 21:40:26
I hate having to use hardcoded strings, why can't
fdoray
2016/01/27 20:12:19
Done. I was scared of adding the crashpad->content
fdoray
2016/01/28 22:11:06
Unfortunately, I can't use the constant here.
- Th
|
} |
// TODO(scottmg): See https://crashpad.chromium.org/bug/23. |