Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index dc203f9f5a3b19882d8bc06da28263a5d32704f1..5eed2fdb25fd431c2d7d90fc7bcd6baa7f353120 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -33,6 +33,7 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "base/sys_info.h" |
#include "base/threading/platform_thread.h" |
+#include "base/time/default_tick_clock.h" |
#include "base/time/time.h" |
#include "base/trace_event/trace_event.h" |
#include "base/values.h" |
@@ -985,8 +986,8 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { |
#endif // defined(OS_LINUX) || defined(OS_OPENBSD) || defined(OS_MACOSX) |
// Initialize tracking synchronizer system. |
- tracking_synchronizer_ = |
- new metrics::TrackingSynchronizer(base::TimeTicks::Now()); |
+ tracking_synchronizer_ = new metrics::TrackingSynchronizer( |
+ make_scoped_ptr(new base::DefaultTickClock())); |
#if defined(OS_MACOSX) |
// Get the Keychain API to register for distributed notifications on the main |