| Index: ash/wm/panel_layout_manager.cc
|
| diff --git a/ash/wm/panel_layout_manager.cc b/ash/wm/panel_layout_manager.cc
|
| index a1d1154126dd2b45adedd9fe08ebd27589614af8..396d0b5640de065436cf2dc6218e0bee3630e43b 100644
|
| --- a/ash/wm/panel_layout_manager.cc
|
| +++ b/ash/wm/panel_layout_manager.cc
|
| @@ -91,13 +91,13 @@ PanelLayoutManager::PanelLayoutManager(aura::Window* panel_container)
|
| views::View* content_view = new views::View;
|
| content_view->set_background(new CalloutWidgetBackground);
|
| callout_widget_->SetContentsView(content_view);
|
| - Shell::GetRootWindow()->AddObserver(this);
|
| + Shell::GetPrimaryRootWindow()->AddObserver(this);
|
| }
|
|
|
| PanelLayoutManager::~PanelLayoutManager() {
|
| if (launcher_)
|
| launcher_->RemoveIconObserver(this);
|
| - Shell::GetRootWindow()->RemoveObserver(this);
|
| + Shell::GetPrimaryRootWindow()->RemoveObserver(this);
|
| }
|
|
|
| void PanelLayoutManager::StartDragging(aura::Window* panel) {
|
|
|