| Index: Source/devtools/front_end/InspectorView.js
|
| diff --git a/Source/devtools/front_end/InspectorView.js b/Source/devtools/front_end/InspectorView.js
|
| index b87c2c5a1f5eac780c6f23d3195b5cdd4871172f..8000c2a757125f1d530657b499a8ff27b60a490b 100644
|
| --- a/Source/devtools/front_end/InspectorView.js
|
| +++ b/Source/devtools/front_end/InspectorView.js
|
| @@ -36,7 +36,7 @@ WebInspector.InspectorView = function()
|
| {
|
| WebInspector.VBox.call(this);
|
| WebInspector.Dialog.setModalHostView(this);
|
| - this.setMinimumSize(180, 72);
|
| + this.setConstraints(180, 72);
|
|
|
| // DevTools sidebar is a vertical split of panels tabbed pane and a drawer.
|
| this._drawerSplitView = new WebInspector.SplitView(false, true, "Inspector.drawerSplitViewState", 200, 200);
|
| @@ -495,7 +495,7 @@ WebInspector.RootView.prototype = {
|
|
|
| doResize: function()
|
| {
|
| - var size = this.minimumSize();
|
| + var size = this.constraints().minimum;
|
| var right = Math.min(0, window.innerWidth - size.width);
|
| this.element.style.right = right + "px";
|
| var bottom = Math.min(0, window.innerHeight - size.height);
|
|
|