Index: ui/aura_shell/app_list.cc |
=================================================================== |
--- ui/aura_shell/app_list.cc (revision 113260) |
+++ ui/aura_shell/app_list.cc (working copy) |
@@ -82,7 +82,7 @@ |
widget_ = widget; |
widget_->AddObserver(this); |
GetLayer(widget_)->GetAnimator()->AddObserver(this); |
- Shell::GetInstance()->AddDesktopEventFilter(this); |
+ Shell::GetInstance()->AddRootWindowEventFilter(this); |
widget_->SetBounds(GetPreferredBounds(false)); |
widget_->SetOpacity(0); |
@@ -100,7 +100,7 @@ |
widget_->RemoveObserver(this); |
GetLayer(widget_)->GetAnimator()->RemoveObserver(this); |
- Shell::GetInstance()->RemoveDesktopEventFilter(this); |
+ Shell::GetInstance()->RemoveRootWindowEventFilter(this); |
widget_ = NULL; |
} |