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

Unified Diff: chrome/browser/net/load_timing_observer.cc

Issue 7602023: Use a monotonic clock (TimeTicks) to report network times to WebCore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use strong typing Created 9 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/net/load_timing_observer.cc
diff --git a/chrome/browser/net/load_timing_observer.cc b/chrome/browser/net/load_timing_observer.cc
index 58963cb6928bbac20187fa69eb99028c450c18ff..541035fdbf0f9bb6ecfbaeb14fb754476c508cd9 100644
--- a/chrome/browser/net/load_timing_observer.cc
+++ b/chrome/browser/net/load_timing_observer.cc
@@ -152,6 +152,7 @@ void LoadTimingObserver::OnAddURLRequestEntry(
URLRequestRecord& record = url_request_to_record_[source.id];
record.base_ticks = time;
record.timing = ResourceLoadTimingInfo();
+ record.timing.base_ticks = time;
record.timing.base_time = TimeTicksToTime(time);
jar (doing other things) 2011/11/19 03:42:32 It seems a bit strange to save this in to formats.
}
return;

Powered by Google App Engine
This is Rietveld 408576698