| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index 566db942d273abe3b4fd4804bdc7a19885bc24bc..8068ad3c09aa49d1db904648b3e03da542637a47 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -931,7 +931,10 @@ void ShelfLayoutManager::UpdateTargetBoundsForGesture(
|
|
|
| void ShelfLayoutManager::UpdateShelfBackground(
|
| BackgroundAnimator::ChangeType type) {
|
| - shelf_->SetPaintsBackground(GetShelfBackgroundType(), type);
|
| + const ShelfBackgroundType background_type(GetShelfBackgroundType());
|
| + shelf_->SetPaintsBackground(background_type, type);
|
| + FOR_EACH_OBSERVER(ShelfLayoutManagerObserver, observers_,
|
| + OnBackgroundUpdated(background_type, type));
|
| }
|
|
|
| ShelfBackgroundType ShelfLayoutManager::GetShelfBackgroundType() const {
|
|
|