| Index: ash/aura/wm_shelf_aura.cc
|
| diff --git a/ash/aura/wm_shelf_aura.cc b/ash/aura/wm_shelf_aura.cc
|
| index 36adc0ea8165c7a002a111654964e9e4fcbd9795..5d70a393b9f88343a9cc47b74bf7a9cd094c764f 100644
|
| --- a/ash/aura/wm_shelf_aura.cc
|
| +++ b/ash/aura/wm_shelf_aura.cc
|
| @@ -178,8 +178,10 @@ void WmShelfAura::WillDeleteShelfLayoutManager() {
|
| void WmShelfAura::OnBackgroundUpdated(
|
| ShelfBackgroundType background_type,
|
| BackgroundAnimatorChangeType change_type) {
|
| + if (background_type == GetBackgroundType())
|
| + return;
|
| FOR_EACH_OBSERVER(WmShelfObserver, observers_,
|
| - OnBackgroundUpdated(background_type, change_type));
|
| + OnBackgroundTypeChanged(background_type, change_type));
|
| }
|
|
|
| void WmShelfAura::WillChangeVisibilityState(ShelfVisibilityState new_state) {
|
|
|