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

Unified Diff: chrome/browser/ui/browser.cc

Issue 1425263003: Use TimeTicks as much as possible in startup_metric_utils. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ifdef thread priority dance out on Mac per lack of support in base Created 5 years, 1 month 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index da8bfb907acab01f80137abcd811be629a704f6d..4db78df1a1e5cef55c352464e079538928776e1b 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1423,7 +1423,7 @@ void Browser::OnWindowDidShow() {
return;
window_has_shown_ = true;
- startup_metric_utils::RecordBrowserWindowDisplay(base::Time::Now());
+ startup_metric_utils::RecordBrowserWindowDisplay(base::TimeTicks::Now());
// Nothing to do for non-tabbed windows.
if (!is_type_tabbed())

Powered by Google App Engine
This is Rietveld 408576698