Index: Source/devtools/front_end/CountersGraph.js |
diff --git a/Source/devtools/front_end/CountersGraph.js b/Source/devtools/front_end/CountersGraph.js |
index a36aeaf6a3a9573e1de5277eaa3d305822e5482c..53d6f878c2bc2a705ecd23a74f6ea883ab019c3d 100644 |
--- a/Source/devtools/front_end/CountersGraph.js |
+++ b/Source/devtools/front_end/CountersGraph.js |
@@ -224,10 +224,6 @@ WebInspector.CountersGraph.prototype = { |
refreshRecords: function() |
{ |
- this.reset(); |
- var records = this._model.records(); |
- for (var i = 0; i < records.length; ++i) |
- this.addRecord(records[i]); |
}, |
/** |
@@ -436,7 +432,7 @@ WebInspector.CountersGraph.CounterUI.prototype = { |
*/ |
setRange: function(minValue, maxValue) |
{ |
- this._range.textContent = WebInspector.UIString("[%d:%d]", minValue, maxValue); |
+ this._range.textContent = WebInspector.UIString("[%.0f:%.0f]", minValue, maxValue); |
}, |
_toggleCounterGraph: function(event) |