| 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..416d1168307ba23d1a2f3b6f61d9747fcae5c8af 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -20,6 +20,7 @@
|
| #include "base/run_loop.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/system_monitor/system_monitor.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "base/threading/thread_restrictions.h"
|
| #include "base/timer/hi_res_timer_manager.h"
|
| #include "content/browser/browser_thread_impl.h"
|
| @@ -495,6 +496,9 @@ void BrowserMainLoop::MainMessageLoopStart() {
|
| ::HeapProfilerStop,
|
| ::GetHeapProfile));
|
| #endif
|
| +
|
| + system_stats_monitor_.reset(new base::debug::TraceEventSystemStatsMonitor(
|
| + base::ThreadTaskRunnerHandle::Get()));
|
| }
|
|
|
| int BrowserMainLoop::PreCreateThreads() {
|
| @@ -715,6 +719,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
|
|
|