Chromium Code Reviews| Index: ash/shelf/shelf.cc |
| diff --git a/ash/shelf/shelf.cc b/ash/shelf/shelf.cc |
| index dce85c9d256cd602c706d022184800ea776c7ae3..ec1b0bfc0406d73b269af12c39a887411a6e6d5d 100644 |
| --- a/ash/shelf/shelf.cc |
| +++ b/ash/shelf/shelf.cc |
| @@ -73,7 +73,7 @@ Shelf::~Shelf() {} |
| // static |
| Shelf* Shelf::ForWindow(aura::Window* window) { |
| - return GetRootWindowController(window->GetRootWindow())->shelf(); |
| + return RootWindowController::ForWindow(window)->shelf(); |
| } |
| // static |