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

Unified Diff: trunk/src/content/browser/resources/media/stats_graph_helper.js

Issue 15021010: Revert 199008 "Fixes a memory leak when running webrtc-internals..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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
Index: trunk/src/content/browser/resources/media/stats_graph_helper.js
===================================================================
--- trunk/src/content/browser/resources/media/stats_graph_helper.js (revision 199028)
+++ trunk/src/content/browser/resources/media/stats_graph_helper.js (working copy)
@@ -140,10 +140,7 @@
// both the simple and compound graph cases.
if (!graphViews[graphViewId].hasDataSeries(dataSeries[finalDataSeriesId]))
graphViews[graphViewId].addDataSeries(dataSeries[finalDataSeriesId]);
- // Draw the stats of the last 5 minutes.
- graphViews[graphViewId].setDateRange(
- new Date(singleReport.timestamp - 1000 * 60 * 5),
- new Date(singleReport.timestamp));
+ graphViews[graphViewId].updateEndDate();
}
}

Powered by Google App Engine
This is Rietveld 408576698