Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 2d05c1bd01f019db1fba69e05af2893ca1ccff12..9c5fc66e8490a57e6dd88879c4d3c34ba3380fe8 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -106,6 +106,7 @@ |
#include "chrome/common/pref_names.h" |
#include "chrome/common/render_messages.h" |
#include "chrome/common/secure_origin_whitelist.h" |
+#include "chrome/common/stack_sampling_configuration.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/browser_resources.h" |
#include "chrome/grit/generated_resources.h" |
@@ -1716,6 +1717,10 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
// is initialized correctly. |
if (command_line->HasSwitch(switches::kEnableBenchmarking)) |
DCHECK(command_line->HasSwitch(switches::kEnableStatsTable)); |
+ |
+ StackSamplingConfiguration::Get()->AppendCommandLineSwitchForChildProcess( |
+ process_type, |
+ command_line); |
} |
std::string ChromeContentBrowserClient::GetApplicationLocale() { |