Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
index 8462a63e4b82b80caade1fe7fb4c5cfdb4ed2ea5..7df1ca177b1dd2878765f4ba630ef45b404e6b0a 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
@@ -50,8 +50,7 @@ |
#include "ui/views/widget/widget.h" |
#if defined(USE_ASH) |
-#include "ash/shell.h" |
-#include "ash/shell_delegate.h" |
+#include "ash/accelerators/accelerator_commands.h" |
#include "ash/wm/coordinate_conversion.h" |
#include "ash/wm/window_state.h" |
#include "ui/aura/env.h" |
@@ -1881,7 +1880,7 @@ void TabDragController::CompleteDrag() { |
host_desktop_type_ == chrome::HOST_DESKTOP_TYPE_ASH) { |
// In fullscreen mode it is only possible to get here if the source |
// was in "immersive fullscreen" mode, so toggle it back on. |
- ash::Shell::GetInstance()->delegate()->ToggleFullscreen(); |
+ ash::accelerators::ToggleFullscreen(); |
} |
#endif |
} |