| Index: ash/root_window_controller.cc
|
| diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
|
| index 0ab912a317784014348898e8f4342bc0f4581141..52035e638bad336e7c1d64da1e303e17f5a36a6a 100644
|
| --- a/ash/root_window_controller.cc
|
| +++ b/ash/root_window_controller.cc
|
| @@ -256,7 +256,7 @@ RootWindowController* RootWindowController::ForTargetRootWindow() {
|
| aura::Window* RootWindowController::GetContainerForWindow(
|
| aura::Window* window) {
|
| aura::Window* container = window->parent();
|
| - while (container && container->type() != aura::client::WINDOW_TYPE_UNKNOWN)
|
| + while (container && container->type() != ui::wm::WINDOW_TYPE_UNKNOWN)
|
| container = container->parent();
|
| return container;
|
| }
|
| @@ -534,8 +534,8 @@ const aura::Window* RootWindowController::GetWindowForFullscreenMode() const {
|
| const aura::Window* topmost_window = NULL;
|
| for (aura::Window::Windows::const_reverse_iterator iter = windows.rbegin();
|
| iter != windows.rend(); ++iter) {
|
| - if (((*iter)->type() == aura::client::WINDOW_TYPE_NORMAL ||
|
| - (*iter)->type() == aura::client::WINDOW_TYPE_PANEL) &&
|
| + if (((*iter)->type() == ui::wm::WINDOW_TYPE_NORMAL ||
|
| + (*iter)->type() == ui::wm::WINDOW_TYPE_PANEL) &&
|
| (*iter)->layer()->GetTargetVisibility()) {
|
| topmost_window = *iter;
|
| break;
|
|
|