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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js

Issue 2915013003: DevTools: the sources debug toolbar buttons should not be drag targets (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index c54e0e7f245b1eea991c91172f7d7bd621b782d3..ae3f6635cfef998bf964f7dccdb568fae044fde6 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -1056,7 +1056,7 @@ Sources.SourcesPanel = class extends UI.Panel {
this._sidebarPaneStack.showView(jsBreakpoints);
this._extensionSidebarPanesContainer = this._sidebarPaneStack;
this.sidebarPaneView = vbox;
- this._splitWidget.uninstallResizer(this._debugToolbar.element);
+ this._splitWidget.uninstallResizer(this._debugToolbar.contentElement());
} else {
var splitWidget = new UI.SplitWidget(true, true, 'sourcesPanelDebuggerSidebarSplitViewState', 0.5);
splitWidget.setMainWidget(vbox);
@@ -1068,7 +1068,7 @@ Sources.SourcesPanel = class extends UI.Panel {
splitWidget.setSidebarWidget(tabbedLocation.tabbedPane());
this._tabbedLocationHeader = tabbedLocation.tabbedPane().headerElement();
this._splitWidget.installResizer(this._tabbedLocationHeader);
- this._splitWidget.installResizer(this._debugToolbar.element);
+ this._splitWidget.installResizer(this._debugToolbar.contentElement());
tabbedLocation.appendView(scopeChainView);
tabbedLocation.appendView(this._watchSidebarPane);
this._extensionSidebarPanesContainer = tabbedLocation;

Powered by Google App Engine
This is Rietveld 408576698