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

Unified Diff: Source/devtools/front_end/MemoryCountersGraph.js

Issue 211203003: DevTools: Rename DOMCountersGraph -> MemoryCountersGraph (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/devtools/front_end/DOMCountersGraph.js ('k') | Source/devtools/front_end/TimelinePanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/MemoryCountersGraph.js
diff --git a/Source/devtools/front_end/DOMCountersGraph.js b/Source/devtools/front_end/MemoryCountersGraph.js
similarity index 95%
rename from Source/devtools/front_end/DOMCountersGraph.js
rename to Source/devtools/front_end/MemoryCountersGraph.js
index a26fa412220e2272951409e5d75dfca65d602503..d54441cfc41fe7c56dd38fd74420dcca50be9367 100644
--- a/Source/devtools/front_end/DOMCountersGraph.js
+++ b/Source/devtools/front_end/MemoryCountersGraph.js
@@ -35,7 +35,7 @@
* @param {!WebInspector.TimelineModeViewDelegate} delegate
* @param {!WebInspector.TimelineModel} model
*/
-WebInspector.DOMCountersGraph = function(delegate, model)
+WebInspector.MemoryCountersGraph = function(delegate, model)
{
WebInspector.CountersGraph.call(this, delegate, model);
this._countersByName = {};
@@ -46,7 +46,7 @@ WebInspector.DOMCountersGraph = function(delegate, model)
this._countersByName["gpuMemoryUsedKB"] = this.createCounter(WebInspector.UIString("GPU Memory"), WebInspector.UIString("GPU Memory [KB]: %d"), "#c0c");
}
-WebInspector.DOMCountersGraph.prototype = {
+WebInspector.MemoryCountersGraph.prototype = {
/**
* @param {!WebInspector.TimelineModel.Record} record
*/
@@ -54,7 +54,7 @@ WebInspector.DOMCountersGraph.prototype = {
{
/**
* @param {!WebInspector.TimelineModel.Record} record
- * @this {!WebInspector.DOMCountersGraph}
+ * @this {!WebInspector.MemoryCountersGraph}
*/
function addStatistics(record)
{
« no previous file with comments | « Source/devtools/front_end/DOMCountersGraph.js ('k') | Source/devtools/front_end/TimelinePanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698