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

Unified Diff: Source/devtools/front_end/components/OverviewGrid.js

Issue 429883004: DevTools: add pie chart to the paint profiler overview. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 6 years, 5 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/layersPanel.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/components/OverviewGrid.js
diff --git a/Source/devtools/front_end/components/OverviewGrid.js b/Source/devtools/front_end/components/OverviewGrid.js
index d1bb842a36d4962a9fb25d473e103b313a271468..d5ae53e0c50d00794986d711f708cce034f28fb4 100644
--- a/Source/devtools/front_end/components/OverviewGrid.js
+++ b/Source/devtools/front_end/components/OverviewGrid.js
@@ -154,15 +154,15 @@ WebInspector.OverviewGrid.ResizerOffset = 3.5; // half pixel because offset valu
* @constructor
* @extends {WebInspector.Object}
* @param {!Element} parentElement
- * @param {!Element} dividersLabelBarElement
+ * @param {!Element=} dividersLabelBarElement
*/
WebInspector.OverviewGrid.Window = function(parentElement, dividersLabelBarElement)
{
this._parentElement = parentElement;
- this._dividersLabelBarElement = dividersLabelBarElement;
WebInspector.installDragHandle(this._parentElement, this._startWindowSelectorDragging.bind(this), this._windowSelectorDragging.bind(this), this._endWindowSelectorDragging.bind(this), "ew-resize", null);
- WebInspector.installDragHandle(this._dividersLabelBarElement, this._startWindowDragging.bind(this), this._windowDragging.bind(this), null, "move");
+ if (dividersLabelBarElement)
+ WebInspector.installDragHandle(dividersLabelBarElement, this._startWindowDragging.bind(this), this._windowDragging.bind(this), null, "move");
this.windowLeft = 0.0;
this.windowRight = 1.0;
« no previous file with comments | « no previous file | Source/devtools/front_end/layersPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698