| 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 ab911b254a5caf922fc54c0b8d9e0ab926bbd189..2ea084cca3150718145e2f8c5558da3a630b8ceb 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
|
| @@ -153,6 +153,9 @@ WebInspector.TabbedPane.prototype = {
|
| this._closeableTabs = closeableTabs;
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| focus: function()
|
| {
|
| if (this.visibleView)
|
| @@ -432,7 +435,7 @@ WebInspector.TabbedPane.prototype = {
|
| if (tab.view === view)
|
| return;
|
|
|
| - var shouldFocus = tab.view.element.isSelfOrAncestor(WebInspector.currentFocusElement());
|
| + var shouldFocus = tab.view.hasFocus();
|
|
|
| this.suspendInvalidations();
|
|
|
|
|