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

Unified Diff: chrome/browser/resources/net_internals/source_entry.js

Issue 8474001: Add a timeline view to about:net-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Comment fix 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/resources/net_internals/source_entry.js
===================================================================
--- chrome/browser/resources/net_internals/source_entry.js (revision 110334)
+++ chrome/browser/resources/net_internals/source_entry.js (working copy)
@@ -198,7 +198,7 @@
*/
getEndTime: function() {
if (!this.isInactive_) {
- return (new Date()).getTime();
+ return timeutil.getCurrentTime();
} else {
var endTicks = this.entries_[this.entries_.length - 1].time;
return timeutil.convertTimeTicksToDate(endTicks).getTime();
« no previous file with comments | « chrome/browser/resources/net_internals/proxy_view.js ('k') | chrome/browser/resources/net_internals/source_tracker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698