Index: ui/views/corewm/visibility_controller.cc |
diff --git a/ui/views/corewm/visibility_controller.cc b/ui/views/corewm/visibility_controller.cc |
index 4542f41c6697f139859a8aa11f8dffe413a9183d..c34f4f379f8689019251f99966f128bcb813fd06 100644 |
--- a/ui/views/corewm/visibility_controller.cc |
+++ b/ui/views/corewm/visibility_controller.cc |
@@ -40,8 +40,8 @@ bool VisibilityController::CallAnimateOnChildWindowVisibilityChanged( |
void VisibilityController::UpdateLayerVisibility(aura::Window* window, |
bool visible) { |
- bool animated = window->type() != aura::client::WINDOW_TYPE_CONTROL && |
- window->type() != aura::client::WINDOW_TYPE_UNKNOWN && |
+ bool animated = window->type() != ui::wm::WINDOW_TYPE_CONTROL && |
+ window->type() != ui::wm::WINDOW_TYPE_UNKNOWN && |
ShouldAnimateWindow(window); |
animated = animated && |
CallAnimateOnChildWindowVisibilityChanged(window, visible); |