Index: ash/app_list/app_list.cc |
diff --git a/ash/app_list/app_list.cc b/ash/app_list/app_list.cc |
index ad9fd017e1a253a5d16543d8680f5f461e731c30..d9e30d1f63b203514e4c8892a898f5832ae13efb 100644 |
--- a/ash/app_list/app_list.cc |
+++ b/ash/app_list/app_list.cc |
@@ -87,7 +87,7 @@ void AppList::SetWidget(views::Widget* widget) { |
if (is_visible_) { |
widget_ = widget; |
- GetLayer(widget_)->GetAnimator()->AddObserver(this); |
+ widget_->AddObserver(this); |
Shell::GetInstance()->AddRootWindowEventFilter(this); |
widget_->SetBounds(GetPreferredBounds(false)); |