| Index: chrome/browser/browser_main.cc
|
| diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
|
| index 2a42a882a7dfbe792ba449da24e1414574ce7323..1d17c175ee5eddd5dcef93b1ba088b3d9a7122d4 100644
|
| --- a/chrome/browser/browser_main.cc
|
| +++ b/chrome/browser/browser_main.cc
|
| @@ -593,7 +593,7 @@ void HandleTestParameters(const CommandLine& command_line) {
|
| }
|
|
|
| void RunUIMessageLoop(BrowserProcess* browser_process) {
|
| - TRACE_EVENT_BEGIN("BrowserMain:MESSAGE_LOOP", 0, "");
|
| + TRACE_EVENT_BEGIN_LEGACY("BrowserMain:MESSAGE_LOOP", 0, "");
|
|
|
| // If the UI thread blocks, the whole UI is unresponsive.
|
| // Do not allow disk IO from the UI thread.
|
| @@ -612,7 +612,7 @@ void RunUIMessageLoop(BrowserProcess* browser_process) {
|
| true);
|
| #endif
|
|
|
| - TRACE_EVENT_END("BrowserMain:MESSAGE_LOOP", 0, "");
|
| + TRACE_EVENT_END_LEGACY("BrowserMain:MESSAGE_LOOP", 0, "");
|
| }
|
|
|
| void AddFirstRunNewTabs(BrowserInit* browser_init,
|
| @@ -1127,7 +1127,7 @@ bool IsMetricsReportingEnabled(const PrefService* local_state) {
|
|
|
| // Main routine for running as the Browser process.
|
| int BrowserMain(const MainFunctionParams& parameters) {
|
| - TRACE_EVENT_BEGIN("BrowserMain", 0, "");
|
| + TRACE_EVENT_BEGIN_LEGACY("BrowserMain", 0, "");
|
|
|
| // If we're running tests (ui_task is non-null).
|
| if (parameters.ui_task)
|
| @@ -1855,6 +1855,6 @@ int BrowserMain(const MainFunctionParams& parameters) {
|
| false);
|
| chromeos::BootTimesLoader::Get()->WriteLogoutTimes();
|
| #endif
|
| - TRACE_EVENT_END("BrowserMain", 0, 0);
|
| + TRACE_EVENT_END_LEGACY("BrowserMain", 0, 0);
|
| return result_code;
|
| }
|
|
|