fix: multiple dock icons when calling dock.show/hide (#25269)

* fix: mulitple dock icons when calling dock.show/hide

* test: run dock.show tests after dock.hide tests
This commit is contained in:
Cheng Zhao 2020-09-03 20:46:24 +09:00 committed by GitHub
parent bda6378685
commit 43485b8705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 7 deletions

View file

@ -355,6 +355,7 @@ class Browser : public WindowListObserver {
#if defined(OS_MAC)
std::unique_ptr<ui::ScopedPasswordInputEnabler> password_input_enabler_;
base::Time last_dock_show_;
#endif
#if defined(OS_LINUX) || defined(OS_WIN)