Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 1021053003: Delivering the FIRST_NONEMPTY_PAINT phase changing event to base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@phase_splitting
Patch Set: More comments. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698