| 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 6ea762162960432d3759b80151860f0b4099fcaf..9a758c29ac180672af79659209679296abfe6b62 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() {
|
|
|