| Index: ash/shelf/wm_shelf.cc
|
| diff --git a/ash/shelf/wm_shelf.cc b/ash/shelf/wm_shelf.cc
|
| index 57719054ccb4191d657e400ecd254f244f916ff9..7db37c0ecfaa82a7751074cf48370331de84dc35 100644
|
| --- a/ash/shelf/wm_shelf.cc
|
| +++ b/ash/shelf/wm_shelf.cc
|
| @@ -69,8 +69,8 @@ WmShelf::WmShelf() {}
|
| WmShelf::~WmShelf() {}
|
|
|
| // static
|
| -WmShelf* WmShelf::ForWindow(WmWindow* window) {
|
| - return window->GetRootWindowController()->GetShelf();
|
| +WmShelf* WmShelf::ForWindow(aura::Window* window) {
|
| + return GetRootWindowController(window)->GetShelf();
|
| }
|
|
|
| // static
|
|
|