Index: ash/wm/workspace/workspace_cycler_animator.cc |
diff --git a/ash/wm/workspace/workspace_cycler_animator.cc b/ash/wm/workspace/workspace_cycler_animator.cc |
index a22375c4e84c3d6fae22c83b3c8256085dc44ad9..1f0a9a38ec86868f2f7995d3805bc7ee33baa2b2 100644 |
--- a/ash/wm/workspace/workspace_cycler_animator.cc |
+++ b/ash/wm/workspace/workspace_cycler_animator.cc |
@@ -10,9 +10,10 @@ |
#include "ash/launcher/launcher.h" |
#include "ash/root_window_controller.h" |
#include "ash/screen_ash.h" |
+#include "ash/shelf/shelf_layout_manager.h" |
+#include "ash/shelf/shelf_widget.h" |
#include "ash/shell_window_ids.h" |
#include "ash/wm/property_util.h" |
-#include "ash/wm/shelf_layout_manager.h" |
#include "ash/wm/workspace/colored_window_controller.h" |
#include "ash/wm/workspace/workspace.h" |
#include "ash/wm/workspace/workspace_cycler_configuration.h" |
@@ -660,9 +661,7 @@ void WorkspaceCyclerAnimator::CreateLauncherBackground() { |
if (screen_bounds_ == maximized_bounds_) |
return; |
- aura::Window* random_workspace_window = workspaces_[0]->window(); |
- ash::Launcher* launcher = ash::Launcher::ForWindow(random_workspace_window); |
- aura::Window* launcher_window = launcher->widget()->GetNativeWindow(); |
+ aura::Window* launcher_window = workspaces_[0]->window(); |
James Cook
2013/03/05 20:30:38
Are you sure this is right? The old code is lookin
Harry McCleave
2013/03/06 01:59:49
Done.
|
// TODO(pkotwicz): Figure out what to do when the launcher visible state is |
// SHELF_AUTO_HIDE. |