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

Unified Diff: content/browser/resources/media/webrtc_internals.js

Issue 428133005: Fix a time conversion bug on webrtc-internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « content/browser/resources/media/stats_table.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resources/media/webrtc_internals.js
diff --git a/content/browser/resources/media/webrtc_internals.js b/content/browser/resources/media/webrtc_internals.js
index 0f7bb4279f712acdcefcf7a9be5ad644e57737c4..3a1f9cd25c19e86fd4e746faf192bc12195ddcb1 100644
--- a/content/browser/resources/media/webrtc_internals.js
+++ b/content/browser/resources/media/webrtc_internals.js
@@ -67,7 +67,7 @@ var PeerConnectionRecord = (function() {
* "value".
*/
addUpdate: function(update) {
- var time = new Date(parseInt(update.time));
+ var time = new Date(parseFloat(update.time));
this.record_.updateLog.push({
time: time.toLocaleString(),
type: update.type,
« no previous file with comments | « content/browser/resources/media/stats_table.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698