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 1b93edbce9e184fb16a0e9e542b06ae2dabebc6f..6c63bf91f0d7f16e19927b063d0fbbd737807627 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -69,6 +69,7 @@ |
#include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_io_data.h" |
+#include "chrome/browser/profiling_host/profiling_process_host.h" |
#include "chrome/browser/renderer_host/chrome_navigation_ui_data.h" |
#include "chrome/browser/renderer_host/chrome_render_message_filter.h" |
#include "chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h" |
@@ -1641,6 +1642,9 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
}; |
command_line->CopySwitchesFrom(browser_command_line, kCommonSwitchNames, |
arraysize(kCommonSwitchNames)); |
+#if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) |
+ profiling::ProfilingProcessHost::AddSwitchesToChildCmdLine(command_line); |
+#endif |
static const char* const kDinosaurEasterEggSwitches[] = { |
error_page::switches::kDisableDinosaurEasterEgg, |