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 9f3fb088f76a98154fdfa0670d73a033e37dde11..04a25f09cfa67e9412c36678410a298d1ac2caab 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js |
@@ -238,6 +238,10 @@ WebInspector.TabbedPane.prototype = { |
this.focus(); |
}, |
+ closeAllTabs: function(){ |
dgozman
2016/06/20 18:32:36
Let's not expose this and revert the change below.
einbinder
2016/06/20 19:28:24
Done.
|
+ this.closeTabs(this.allTabs()); |
+ }, |
+ |
/** |
* @param {string} id |
* @param {boolean=} userGesture |
@@ -1127,7 +1131,7 @@ WebInspector.TabbedPaneTab.prototype = { |
*/ |
function closeAll() |
{ |
- this._closeTabs(this._tabbedPane.allTabs()); |
+ this._tabbedPane.closeAllTabs() |
} |
/** |