| Index: ash/aura/wm_shelf_aura.cc
|
| diff --git a/ash/aura/wm_shelf_aura.cc b/ash/aura/wm_shelf_aura.cc
|
| index 50f6389a58b506bacc8971bf13aafcf9015d75be..5cbf8c0892ba6bac0576c6a6514c30974a2cacdf 100644
|
| --- a/ash/aura/wm_shelf_aura.cc
|
| +++ b/ash/aura/wm_shelf_aura.cc
|
| @@ -174,8 +174,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) {
|
|
|