Chromium Code Reviews| Index: content/browser/browser_main_loop.cc |
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
| index 429da81500747d7355ae5e8ed989748e2d582bef..af4a1104a1195805e72c127dc711abe8d6733935 100644 |
| --- a/content/browser/browser_main_loop.cc |
| +++ b/content/browser/browser_main_loop.cc |
| @@ -495,6 +495,9 @@ void BrowserMainLoop::MainMessageLoopStart() { |
| ::HeapProfilerStop, |
| ::GetHeapProfile)); |
| #endif |
| + |
| + system_stats_monitor_.reset(new base::debug::TraceEventSystemStatsMonitor( |
| + base::MessageLoop::current()->message_loop_proxy())); |
|
dsinclair
2013/09/09 14:14:22
nit: indent 2 more.
|
| } |
| int BrowserMainLoop::PreCreateThreads() { |
| @@ -715,6 +718,7 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() { |
| } |
| trace_memory_controller_.reset(); |
| + system_stats_monitor_.reset(); |
| #if !defined(OS_IOS) |
| // Destroying the GpuProcessHostUIShims on the UI thread posts a task to |