| Index: ui/aura_shell/workspace/workspace.cc
|
| ===================================================================
|
| --- ui/aura_shell/workspace/workspace.cc (revision 113260)
|
| +++ ui/aura_shell/workspace/workspace.cc (working copy)
|
| @@ -8,7 +8,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| -#include "ui/aura/desktop.h"
|
| +#include "ui/aura/root_window.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/aura_shell/property_util.h"
|
| #include "ui/aura_shell/workspace/workspace_manager.h"
|
| @@ -95,7 +95,7 @@
|
|
|
| aura::Window* Workspace::FindRotateWindowForLocation(
|
| const gfx::Point& position) {
|
| - aura::Window* active = aura::Desktop::GetInstance()->active_window();
|
| + aura::Window* active = aura::RootWindow::GetInstance()->active_window();
|
| if (GetTotalWindowsWidth() < bounds_.width()) {
|
| // If all windows fit to the width of the workspace, it returns the
|
| // window which contains |position|'s x coordinate.
|
|
|