Index: ash/high_contrast/high_contrast_controller.cc |
diff --git a/ash/high_contrast/high_contrast_controller.cc b/ash/high_contrast/high_contrast_controller.cc |
index 31a0dbbcc6c39d05385299791e1e6c628e8e8c19..72fe0366bc6a082452cade71b268f6f3397042ac 100644 |
--- a/ash/high_contrast/high_contrast_controller.cc |
+++ b/ash/high_contrast/high_contrast_controller.cc |
@@ -18,8 +18,8 @@ void HighContrastController::SetEnabled(bool enabled) { |
enabled_ = enabled; |
// Update all active displays. |
- Shell::RootWindowList root_window_list = Shell::GetAllRootWindows(); |
- for (Shell::RootWindowList::iterator it = root_window_list.begin(); |
+ aura::Window::Windows root_window_list = Shell::GetAllRootWindows(); |
+ for (aura::Window::Windows::iterator it = root_window_list.begin(); |
it != root_window_list.end(); it++) { |
UpdateDisplay(*it); |
} |
@@ -29,7 +29,7 @@ void HighContrastController::OnRootWindowAdded(aura::RootWindow* root_window) { |
UpdateDisplay(root_window); |
} |
-void HighContrastController::UpdateDisplay(aura::RootWindow* root_window) { |
+void HighContrastController::UpdateDisplay(aura::Window* root_window) { |
root_window->layer()->SetLayerInverted(enabled_); |
} |