Index: Source/devtools/front_end/CountersGraph.js |
diff --git a/Source/devtools/front_end/CountersGraph.js b/Source/devtools/front_end/CountersGraph.js |
index 02e96d2c719e3b832cc1e8573aeaf7aae8941dea..110695c0537fffa0c35792be91f86a5f5726385f 100644 |
--- a/Source/devtools/front_end/CountersGraph.js |
+++ b/Source/devtools/front_end/CountersGraph.js |
@@ -42,16 +42,16 @@ WebInspector.CountersGraph = function(delegate, model) |
/** |
* @constructor |
- * @extends {WebInspector.CounterUIBase} |
+ * @extends {WebInspector.MemoryCounterUIBase} |
* @param {!WebInspector.CountersGraph} memoryCountersPane |
* @param {string} title |
* @param {string} currentValueLabel |
* @param {!string} color |
- * @param {!WebInspector.MemoryStatistics.Counter} counter |
+ * @param {!WebInspector.Counter} counter |
*/ |
-WebInspector.CounterUI = function(memoryCountersPane, title, currentValueLabel, color, counter) |
+WebInspector.MemoryCounterUI = function(memoryCountersPane, title, currentValueLabel, color, counter) |
{ |
- WebInspector.CounterUIBase.call(this, memoryCountersPane, title, color, counter) |
+ WebInspector.MemoryCounterUIBase.call(this, memoryCountersPane, title, color, counter) |
this._range = this._swatch.element.createChild("span"); |
this._value = memoryCountersPane._currentValuesBar.createChild("span", "memory-counter-value"); |
@@ -65,7 +65,7 @@ WebInspector.CounterUI = function(memoryCountersPane, title, currentValueLabel, |
this.graphYValues = []; |
} |
-WebInspector.CounterUI.prototype = { |
+WebInspector.MemoryCounterUI.prototype = { |
reset: function() |
{ |
this._range.textContent = ""; |
@@ -80,7 +80,7 @@ WebInspector.CounterUI.prototype = { |
this._range.textContent = WebInspector.UIString("[%d:%d]", minValue, maxValue); |
}, |
- __proto__: WebInspector.CounterUIBase.prototype |
+ __proto__: WebInspector.MemoryCounterUIBase.prototype |
} |
@@ -111,9 +111,9 @@ WebInspector.CountersGraph.prototype = { |
*/ |
_createCounter: function(uiName, uiValueTemplate, color, protocolName) |
{ |
- var counter = new WebInspector.MemoryStatistics.Counter(protocolName); |
+ var counter = new WebInspector.Counter(protocolName); |
this._counters.push(counter); |
- this._counterUI.push(new WebInspector.CounterUI(this, uiName, uiValueTemplate, color, counter)); |
+ this._counterUI.push(new WebInspector.MemoryCounterUI(this, uiName, uiValueTemplate, color, counter)); |
}, |
/** |
@@ -146,7 +146,7 @@ WebInspector.CountersGraph.prototype = { |
}, |
/** |
- * @param {!WebInspector.CounterUIBase} counterUI |
+ * @param {!WebInspector.MemoryCounterUIBase} counterUI |
*/ |
_drawGraph: function(counterUI) |
{ |