| 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..4e7bbdab8c07ffe4601da71d3d441ce7d85c6f40 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));
|
| + OnBackgroundChanged(background_type, change_type));
|
| }
|
|
|
| void WmShelfAura::WillChangeVisibilityState(ShelfVisibilityState new_state) {
|
|
|