| Index: ash/wm/window_cycle_controller.cc
|
| ===================================================================
|
| --- ash/wm/window_cycle_controller.cc (revision 170746)
|
| +++ ash/wm/window_cycle_controller.cc (working copy)
|
| @@ -88,9 +88,10 @@
|
| // WindowCycleController, public:
|
|
|
| WindowCycleController::WindowCycleController(
|
| - internal::ActivationController* activation_controller)
|
| - : activation_controller_(activation_controller) {
|
| - activation_controller_->AddObserver(this);
|
| + aura::client::ActivationClient* activation_client)
|
| + : ActivationChangeShim(Shell::GetInstance()),
|
| + activation_client_(activation_client) {
|
| + activation_client_->AddObserver(this);
|
| }
|
|
|
| WindowCycleController::~WindowCycleController() {
|
| @@ -114,7 +115,7 @@
|
| }
|
| }
|
|
|
| - activation_controller_->RemoveObserver(this);
|
| + activation_client_->RemoveObserver(this);
|
| StopCycling();
|
| }
|
|
|
|
|