| Index: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
|
| index 3ec933eda2f56b4f666a434c63a02c61651b45b4..ccadd21ce6d9668cfe398c36eb68e9b9c1710fd3 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
|
| @@ -42,7 +42,7 @@ WebInspector.ElementsPanel = function()
|
|
|
| this._splitWidget = new WebInspector.SplitWidget(true, true, "elementsPanelSplitViewState", 325, 325);
|
| this._splitWidget.addEventListener(WebInspector.SplitWidget.Events.SidebarSizeChanged, this._updateTreeOutlineVisibleWidth.bind(this));
|
| - this._splitWidget.show(this.element);
|
| + this._splitWidget.show(this.contentElement);
|
|
|
| this._searchableView = new WebInspector.SearchableView(this);
|
| this._searchableView.setMinimumSize(25, 28);
|
| @@ -314,7 +314,7 @@ WebInspector.ElementsPanel.prototype = {
|
| onResize: function()
|
| {
|
| if (WebInspector.moduleSetting("sidebarPosition").get() === "auto")
|
| - this.element.window().requestAnimationFrame(this._updateSidebarPosition.bind(this)); // Do not force layout.
|
| + this.contentElement.window().requestAnimationFrame(this._updateSidebarPosition.bind(this)); // Do not force layout.
|
| this._updateTreeOutlineVisibleWidth();
|
| },
|
|
|
|
|