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 98cac7fca468d37ccf44e6803294ea5fa53f4f28..6461d76826efa245ffa8394dd215028ea1f5938e 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" |
@@ -1640,6 +1641,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, |