| Index: ui/aura/window.cc
|
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc
|
| index e6404cceeeef80fa81374eb16d65ff9921c3e6c9..ffae27234e78057c3ac15e49a22abad1d4c0e0e5 100644
|
| --- a/ui/aura/window.cc
|
| +++ b/ui/aura/window.cc
|
| @@ -367,8 +367,10 @@ void Window::SetVisible(bool visible) {
|
| bool was_visible = IsVisible();
|
| layer_->SetVisible(visible);
|
| bool is_visible = IsVisible();
|
| - if (was_visible != is_visible)
|
| + if (was_visible != is_visible) {
|
| SchedulePaint();
|
| + delegate_->OnWindowVisibilityChanged(is_visible);
|
| + }
|
| }
|
|
|
| void Window::SchedulePaint() {
|
|
|