Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index 863f02be27411b4490f047a8b4d8d944d6216518..d844d6db84315808964a62326b3b0adb002eb859 100644 |
--- a/content/app/content_main_runner.cc |
+++ b/content/app/content_main_runner.cc |
@@ -568,6 +568,9 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
base::EnableTerminationOnHeapCorruption(); |
+ // Enable profiler recording right after command line is initialized. |
+ delegate_->EnableProfilerRecording(); |
vadimt
2015/03/12 18:23:03
Please move this call to BrowserMainRunnerImpl::In
yao
2015/03/12 18:32:19
This place runs earlier than that. we may want to
vadimt
2015/03/12 18:37:26
Unlikely. But we'll benefit from not spreading thi
yao
2015/03/13 14:28:31
I see.
But this function takes in ContentMainPar
vadimt
2015/03/13 14:32:58
Then it's OK to leave it here. Please mark ALL add
yao
2015/03/13 15:24:49
Done.
|
+ |
#if !defined(OS_IOS) |
SetProcessTitleFromCommandLine(argv); |
#endif |