Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: content/app/content_main_runner.cc

Issue 1212893009: Disabled EnableStartupTracing for Renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index b59c95a6acf3600f4b6793e8a1697355df4e9f72..2906e77f0d2d805215b63bd2a352c525cf788f65 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -632,7 +632,8 @@ class ContentMainRunnerImpl : public ContentMainRunner {
base::trace_event::TraceLog::GetInstance()->SetEnabled(
trace_config,
base::trace_event::TraceLog::RECORDING_MODE);
- } else if (process_type != switches::kZygoteProcess) {
+ } else if (process_type != switches::kZygoteProcess &&
+ process_type != switches::kRendererProcess) {
// There is no need to schedule stopping tracing in this case. Telemetry
// will stop tracing on demand later.
Zhen Wang 2015/07/01 00:41:43 Can you add some comment here to explain why it is
tracing::EnableStartupTracingIfConfigFileExists();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698