Index: content/browser/browser_main_runner.cc |
=================================================================== |
--- content/browser/browser_main_runner.cc (revision 147155) |
+++ content/browser/browser_main_runner.cc (working copy) |
@@ -52,7 +52,7 @@ |
if (parameters.command_line.HasSwitch(switches::kSingleProcess)) |
content::RenderProcessHost::set_run_renderer_in_process(true); |
- statistics_.reset(new base::StatisticsRecorder); |
+ base::StatisticsRecorder::Initialize(); |
notification_service_.reset(new NotificationServiceImpl); |
@@ -116,8 +116,6 @@ |
notification_service_.reset(NULL); |
- statistics_.reset(NULL); |
- |
is_shutdown_ = true; |
} |
@@ -136,7 +134,6 @@ |
#if defined(OS_WIN) |
scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; |
#endif |
- scoped_ptr<base::StatisticsRecorder> statistics_; |
DISALLOW_COPY_AND_ASSIGN(BrowserMainRunnerImpl); |
}; |