| Index: third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js b/third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js
|
| index 6be020be4c1fe25ddd673f7ce12e8ba16c1376f7..0ca09d36ba28d2e5971804e267708461ab3caed3 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js
|
| @@ -113,10 +113,12 @@ QuickOpen.CommandMenuProvider = class extends QuickOpen.FilteredListWidget.Provi
|
| constructor() {
|
| super();
|
| this._commands = [];
|
| - this._appendAvailableCommands();
|
| }
|
|
|
| - _appendAvailableCommands() {
|
| + /**
|
| + * @override
|
| + */
|
| + attach() {
|
| var allCommands = QuickOpen.commandMenu.commands();
|
|
|
| // Populate whitelisted actions.
|
| @@ -146,6 +148,13 @@ QuickOpen.CommandMenuProvider = class extends QuickOpen.FilteredListWidget.Provi
|
|
|
| /**
|
| * @override
|
| + */
|
| + detach() {
|
| + this._commands = [];
|
| + }
|
| +
|
| + /**
|
| + * @override
|
| * @return {number}
|
| */
|
| itemCount() {
|
|
|