| Index: ash/wm/shadow_controller.cc
|
| diff --git a/ash/wm/shadow_controller.cc b/ash/wm/shadow_controller.cc
|
| index bbf555074f7f23dffd5cef2153fa7dce1383aa68..718ef1527a2b89643ec7d6e32df2352623e68473 100644
|
| --- a/ash/wm/shadow_controller.cc
|
| +++ b/ash/wm/shadow_controller.cc
|
| @@ -72,11 +72,11 @@ ShadowController::ShadowController()
|
| : ALLOW_THIS_IN_INITIALIZER_LIST(observer_manager_(this)) {
|
| aura::Env::GetInstance()->AddObserver(this);
|
| // Watch for window activation changes.
|
| - Shell::GetRootWindow()->AddObserver(this);
|
| + Shell::GetPrimaryRootWindow()->AddObserver(this);
|
| }
|
|
|
| ShadowController::~ShadowController() {
|
| - Shell::GetRootWindow()->RemoveObserver(this);
|
| + Shell::GetPrimaryRootWindow()->RemoveObserver(this);
|
| aura::Env::GetInstance()->RemoveObserver(this);
|
| }
|
|
|
|
|