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

Unified Diff: components/html_viewer/html_frame.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: components/html_viewer/html_frame.cc
diff --git a/components/html_viewer/html_frame.cc b/components/html_viewer/html_frame.cc
index 17cfb34e71f9d74814adc17272eee6dad80c5db0..1914585a62c0a72c8ede98c5f49bec08c1fe2417 100644
--- a/components/html_viewer/html_frame.cc
+++ b/components/html_viewer/html_frame.cc
@@ -426,8 +426,8 @@ void HTMLFrame::didHandleOnloadEvents(blink::WebLocalFrame* frame) {
DVLOG(2) << "XXX HTMLFrame::didHandleOnloadEvents id=" << id_;
static bool recorded = false;
if (!recorded && startup_performance_data_collector_) {
- startup_performance_data_collector_->SetFirstWebContentsMainFrameLoadTime(
- base::Time::Now().ToInternalValue());
+ startup_performance_data_collector_->SetFirstWebContentsMainFrameLoadTicks(
+ base::TimeTicks::Now().ToInternalValue());
recorded = true;
}
}

Powered by Google App Engine
This is Rietveld 408576698