Index: trunk/src/content/browser/resources/media/data_series.js |
=================================================================== |
--- trunk/src/content/browser/resources/media/data_series.js (revision 199028) |
+++ trunk/src/content/browser/resources/media/data_series.js (working copy) |
@@ -6,8 +6,6 @@ |
* A TimelineDataSeries collects an ordered series of (time, value) pairs, |
* and converts them to graph points. It also keeps track of its color and |
* current visibility state. |
- * It keeps MAX_STATS_DATA_POINT_BUFFER_SIZE data points at most. Old data |
- * points will be dropped when it reaches this size. |
*/ |
var TimelineDataSeries = (function() { |
'use strict'; |
@@ -37,9 +35,6 @@ |
addPoint: function(timeTicks, value) { |
var time = new Date(timeTicks); |
this.dataPoints_.push(new DataPoint(time, value)); |
- |
- if (this.dataPoints_.length > MAX_STATS_DATA_POINT_BUFFER_SIZE) |
- this.dataPoints_.shift(); |
}, |
isVisible: function() { |