Index: chrome/common/logging_chrome.cc |
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc |
index 1194522f6c0bb45d7f4e9f4566e0a269282d6e8e..183d4e84792abcfdcc0c4764a51600653d4f6504 100644 |
--- a/chrome/common/logging_chrome.cc |
+++ b/chrome/common/logging_chrome.cc |
@@ -40,6 +40,7 @@ |
#include "base/environment.h" |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
+#include "base/metrics/statistics_recorder.h" |
#include "base/path_service.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_util.h" |
@@ -360,6 +361,8 @@ void InitChromeLogging(const base::CommandLine& command_line, |
logging::LogEventProvider::Initialize(kChromeTraceProviderName); |
#endif |
+ base::StatisticsRecorder::InitLogOnShutdown(); |
+ |
chrome_logging_initialized_ = true; |
} |