Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1161)

Unified Diff: ash/common/shelf/wm_shelf.cc

Issue 2679333002: [ash-md] Remove the number of animators used for the Shelf animations. (Closed)
Patch Set: Addressed review comments and updated ShelfBackgroundAnimator::animator_ lifetime. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/common/shelf/wm_shelf.cc
diff --git a/ash/common/shelf/wm_shelf.cc b/ash/common/shelf/wm_shelf.cc
index 72de8ab0b6881a0695e5444e13adaa419ebd8b68..f060648e2945acb9a55257f6d81e7f1f1ea2bc48 100644
--- a/ash/common/shelf/wm_shelf.cc
+++ b/ash/common/shelf/wm_shelf.cc
@@ -373,7 +373,7 @@ void WmShelf::OnAutoHideStateChanged(ShelfAutoHideState new_state) {
}
void WmShelf::OnBackgroundUpdated(ShelfBackgroundType background_type,
- BackgroundAnimatorChangeType change_type) {
+ gfx::AnimationChangeType change_type) {
if (background_type == GetBackgroundType())
return;
for (auto& observer : observers_)

Powered by Google App Engine
This is Rietveld 408576698