Index: chrome/renderer/renderer_main.cc |
=================================================================== |
--- chrome/renderer/renderer_main.cc (revision 6119) |
+++ chrome/renderer/renderer_main.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include "base/path_service.h" |
#include "base/platform_thread.h" |
#include "base/string_util.h" |
+#include "base/system_monitor.h" |
#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_counters.h" |
#include "chrome/common/chrome_switches.h" |
@@ -53,6 +54,9 @@ |
std::wstring app_name = chrome::kBrowserAppName; |
PlatformThread::SetName(WideToASCII(app_name + L"_RendererMain").c_str()); |
+ // Initialize the SystemMonitor |
+ base::SystemMonitor::Start(); |
+ |
CoInitialize(NULL); |
DLOG(INFO) << "Started renderer with " << |