Commit 08745329 authored by stevenjb@google.com's avatar stevenjb@google.com

Restore call to instantiate NotificationUIManager to fix perf timers.

BUG=105056
TEST=Check perf timers, should be back to pre-110853 values.

Review URL: http://codereview.chromium.org/8623007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111055 0039d316-1c4b-4281-b951-d872f2087c98
parent 67b9de75
......@@ -1860,6 +1860,12 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
NaClProcessHost::EarlyStartup();
#endif
// Instantiate the notification UI manager, as this triggers a perf timer
// used to measure startup time. TODO(stevenjb): Figure out what is actually
// triggering the timer and call that explicitly in the approprate place.
// http://crbug.com/105065.
g_browser_process->notification_ui_manager();
if (parameters().ui_task) {
// We are in test mode. Run one task and enter the main message loop.
#if defined(OS_MACOSX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment