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

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

Issue 212843003: DevTools: Add TimelinePowerGraph (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/devtools.gypi ('k') | Source/devtools/front_end/MemoryCountersGraph.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 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)
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/MemoryCountersGraph.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698