Index: ash/accelerators/accelerator_controller.cc |
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
index efb90987495d809c06d510f562298ca9539f1fa6..b4acff9187012dc3fe59c6faa328beceacb9b2d2 100644 |
--- a/ash/accelerators/accelerator_controller.cc |
+++ b/ash/accelerators/accelerator_controller.cc |
@@ -329,10 +329,11 @@ bool HandleMediaPrevTrack() { |
} |
bool HandlePrintLayerHierarchy() { |
- Shell::RootWindowList root_windows = Shell::GetAllRootWindows(); |
+ aura::Window::Windows root_windows = Shell::GetAllRootWindows(); |
for (size_t i = 0; i < root_windows.size(); ++i) { |
- ui::PrintLayerHierarchy(root_windows[i]->layer(), |
- root_windows[i]->GetLastMouseLocationInRoot()); |
+ ui::PrintLayerHierarchy( |
+ root_windows[i]->layer(), |
+ root_windows[i]->GetDispatcher()->GetLastMouseLocationInRoot()); |
} |
return true; |
} |