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(); |
} |
} |