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

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

Issue 163523002: Clear button doesn't clear everything in memory section. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 | « no previous file | Source/devtools/front_end/MemoryStatistics.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/CountersGraph.js
diff --git a/Source/devtools/front_end/CountersGraph.js b/Source/devtools/front_end/CountersGraph.js
index e4e6dc60a520e96fc69c22bdeb32dc84b1c4aa08..f2512e3eb3567cc1cd1eac99071d6f675b40698c 100644
--- a/Source/devtools/front_end/CountersGraph.js
+++ b/Source/devtools/front_end/CountersGraph.js
@@ -65,6 +65,11 @@ WebInspector.CounterUI = function(memoryCountersPane, title, currentValueLabel,
}
WebInspector.CounterUI.prototype = {
+ reset: function()
+ {
+ this._range.textContent = "";
+ },
+
/**
* @param {number} minValue
* @param {number} maxValue
« no previous file with comments | « no previous file | Source/devtools/front_end/MemoryStatistics.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698