Index: Source/devtools/front_end/MemoryCountersGraph.js |
diff --git a/Source/devtools/front_end/MemoryCountersGraph.js b/Source/devtools/front_end/MemoryCountersGraph.js |
index d54441cfc41fe7c56dd38fd74420dcca50be9367..0b0237c18d95034850b12ad7eb63f98e7948f9a7 100644 |
--- a/Source/devtools/front_end/MemoryCountersGraph.js |
+++ b/Source/devtools/front_end/MemoryCountersGraph.js |
@@ -72,5 +72,13 @@ WebInspector.MemoryCountersGraph.prototype = { |
this.scheduleRefresh(); |
}, |
+ refreshRecords: function() |
+ { |
+ this.reset(); |
+ var records = this._model.records(); |
+ for (var i = 0; i < records.length; ++i) |
+ this.addRecord(records[i]); |
+ }, |
+ |
__proto__: WebInspector.CountersGraph.prototype |
} |