| Index: ash/shelf/shelf_window_watcher.cc
|
| diff --git a/ash/shelf/shelf_window_watcher.cc b/ash/shelf/shelf_window_watcher.cc
|
| index 3744687a40544f2d0b6382e51a250a84ab73f005..546d21294cc614518450dfbcb87f0ff98590af4b 100644
|
| --- a/ash/shelf/shelf_window_watcher.cc
|
| +++ b/ash/shelf/shelf_window_watcher.cc
|
| @@ -190,8 +190,10 @@ void ShelfWindowWatcher::FinishObservingRemovedWindow(aura::Window* window) {
|
| RemoveShelfItem(window);
|
| }
|
|
|
| -void ShelfWindowWatcher::OnWindowActivated(aura::Window* gained_active,
|
| - aura::Window* lost_active) {
|
| +void ShelfWindowWatcher::OnWindowActivated(
|
| + aura::client::ActivationChangeObserver::ActivationReason reason,
|
| + aura::Window* gained_active,
|
| + aura::Window* lost_active) {
|
| if (gained_active && HasShelfItemForWindow(gained_active))
|
| UpdateShelfItemStatus(gained_active, true);
|
| if (lost_active && HasShelfItemForWindow(lost_active))
|
|
|