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

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

Issue 1178563002: DevTools: Refactor network panel overview (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test. Created 5 years, 6 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
Index: Source/devtools/front_end/timeline/CountersGraph.js
diff --git a/Source/devtools/front_end/timeline/CountersGraph.js b/Source/devtools/front_end/timeline/CountersGraph.js
index 22b69173d8a27cbd8af6eb5bf37191af307a735f..820f5df52479304bdd79ce1e19fc2d50ea80a351 100644
--- a/Source/devtools/front_end/timeline/CountersGraph.js
+++ b/Source/devtools/front_end/timeline/CountersGraph.js
@@ -136,7 +136,7 @@ WebInspector.CountersGraph.prototype = {
this._canvas.width = parentElement.clientWidth * window.devicePixelRatio;
this._canvas.height = parentElement.clientHeight * window.devicePixelRatio;
var timelinePaddingLeft = 15;
- this._calculator.setDisplayWindow(timelinePaddingLeft, this._canvas.width);
+ this._calculator.setDisplayWindow(this._canvas.width, timelinePaddingLeft);
this.refresh();
},
« no previous file with comments | « Source/devtools/front_end/network/networkPanel.css ('k') | Source/devtools/front_end/timeline/TimelineEventOverview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698