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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js

Issue 2609573002: Revert "DevTools: remove invalidateSize from Widget, make show/hideWidget receive no params." (Closed)
Patch Set: Created 4 years 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/ui/TabbedPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
index e4b6ebaf3e12758e8d74d8acb49e02b1ddadcbf5..54f6b4f3f705a854d4502b7e79101ed74867d347 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
@@ -748,7 +748,7 @@ UI.TabbedPane = class extends UI.VBox {
_showTab(tab) {
tab.tabElement.classList.add('selected');
tab.tabElement.setAttribute('aria-selected', 'true');
- tab.view.showWidget();
+ tab.view.showWidget(this.element);
this._updateTabSlider();
}

Powered by Google App Engine
This is Rietveld 408576698