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 c10195bcbb34828ad8edba2ce8273d2c01ec112c..d9e50ecc83861c478e594ea9173be8da4211a1b5 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -107,6 +107,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" |
@@ -1733,6 +1734,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() { |