Index: ash/shelf/shelf_layout_manager.cc |
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc |
index 22bc7b2bb7e15eba52a943dae2206929adcb5622..ad89d6d76bdb5861870925b477321c245009e0ae 100644 |
--- a/ash/shelf/shelf_layout_manager.cc |
+++ b/ash/shelf/shelf_layout_manager.cc |
@@ -77,9 +77,8 @@ ui::Layer* GetLayer(views::Widget* widget) { |
// Returns true if the window is in the app list window container. |
bool IsAppListWindow(WmWindow* window) { |
- return window->GetParent() && |
- window->GetParent()->GetShellWindowId() == |
- kShellWindowId_AppListContainer; |
+ return window->GetParent() && window->GetParent()->aura_window()->id() == |
+ kShellWindowId_AppListContainer; |
} |
} // namespace |