| 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 1bdfe003dd463ade82fd8f5562b04c6f7b4978c1..ea49e952ce250437576cd0b94981b66a8f2592fb 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| @@ -95,9 +95,13 @@ UI.FilterBar = class extends UI.HBox {
|
| }
|
|
|
| _updateFilterBar() {
|
| + if (!this.parentWidget())
|
| + return;
|
| var visible = this._alwaysShowFilters || (this._filtersShown && this._enabled);
|
| - this.element.classList.toggle('hidden', !visible);
|
| - this.invalidateSize();
|
| + if (visible)
|
| + this.showWidget();
|
| + else
|
| + this.hideWidget();
|
| }
|
|
|
| _focusTextField() {
|
|
|