Index: ash/wm/toplevel_window_event_handler_unittest.cc |
diff --git a/ash/wm/toplevel_window_event_handler_unittest.cc b/ash/wm/toplevel_window_event_handler_unittest.cc |
index cc5fcf55fc08fa1fdc611f9023a42a18e3e66656..f5b5d0e3e2586cf5fc11bdceb416beedecacf923 100644 |
--- a/ash/wm/toplevel_window_event_handler_unittest.cc |
+++ b/ash/wm/toplevel_window_event_handler_unittest.cc |
@@ -4,10 +4,10 @@ |
#include "ash/wm/toplevel_window_event_handler.h" |
+#include "ash/public/cpp/config.h" |
#include "ash/public/cpp/shell_window_ids.h" |
#include "ash/root_window_controller.h" |
#include "ash/shell.h" |
-#include "ash/shell_port.h" |
#include "ash/test/ash_test_base.h" |
#include "ash/wm/resize_shadow.h" |
#include "ash/wm/resize_shadow_controller.h" |
@@ -786,7 +786,7 @@ TEST_F(ToplevelWindowEventHandlerTest, GestureDragCaptureLoss) { |
TEST_F(ToplevelWindowEventHandlerTest, DragSnappedWindowToExternalDisplay) { |
// TODO: SetLayoutForCurrentDisplays() needs to ported to mash. |
// http://crbug.com/698043. |
- if (ShellPort::Get()->IsRunningInMash()) |
+ if (Shell::GetAshConfig() == Config::MASH) |
return; |
UpdateDisplay("940x550,940x550"); |