| Index: third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| index b54e5c90aef91e29fe3dd247b909cdc80f026c82..d9b38aa1881e228a5bf0db0bd411ea1d57f17e0f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| @@ -289,10 +289,10 @@ UI.TextFilterUI = class extends Common.Object {
|
| }
|
|
|
| _cancelSuggestion() {
|
| - if (this._suggestionBuilder && this._suggestBox.visible) {
|
| - this._suggestionBuilder.unapplySuggestion(this._filterInputElement);
|
| - this._suggestBox.hide();
|
| - }
|
| + if (!this._suggestionBuilder || !this._suggestBox.visible())
|
| + return;
|
| + this._suggestionBuilder.unapplySuggestion(this._filterInputElement);
|
| + this._suggestBox.hide();
|
| }
|
|
|
| _onInput() {
|
|
|