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

Unified Diff: chrome/renderer/renderer_main.cc

Issue 6551019: Trace_event upgrades (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More gooder js thanks to arv. Created 9 years, 10 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
Index: chrome/renderer/renderer_main.cc
diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc
index 012ac43c9c7bb287928a53fc8a7a083ad4eebc86..5704b1c7f0af1d781664521d648e46c446e885c2 100644
--- a/chrome/renderer/renderer_main.cc
+++ b/chrome/renderer/renderer_main.cc
@@ -180,7 +180,7 @@ static void HandleRendererErrorTestParameters(const CommandLine& command_line) {
// mainline routine for running as the Renderer process
int RendererMain(const MainFunctionParams& parameters) {
- TRACE_EVENT_BEGIN("RendererMain", 0, "");
+ TRACE_EVENT_BEGIN_LEGACY("RendererMain", 0, "");
const CommandLine& parsed_command_line = parameters.command_line_;
base::mac::ScopedNSAutoreleasePool* pool = parameters.autorelease_pool_;
@@ -296,12 +296,12 @@ int RendererMain(const MainFunctionParams& parameters) {
if (run_loop) {
if (pool)
pool->Recycle();
- TRACE_EVENT_BEGIN("RendererMain.START_MSG_LOOP", 0, 0);
+ TRACE_EVENT_BEGIN_LEGACY("RendererMain.START_MSG_LOOP", 0, 0);
MessageLoop::current()->Run();
- TRACE_EVENT_END("RendererMain.START_MSG_LOOP", 0, 0);
+ TRACE_EVENT_END_LEGACY("RendererMain.START_MSG_LOOP", 0, 0);
}
}
platform.PlatformUninitialize();
- TRACE_EVENT_END("RendererMain", 0, "");
+ TRACE_EVENT_END_LEGACY("RendererMain", 0, "");
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698