Index: ash/screen_util_unittest.cc |
diff --git a/ash/screen_util_unittest.cc b/ash/screen_util_unittest.cc |
index bf07727c0ea42f09efb1636aa103618d11fedf7a..c72c16a4cb3f64176e587098f9c47c5b39fa1254 100644 |
--- a/ash/screen_util_unittest.cc |
+++ b/ash/screen_util_unittest.cc |
@@ -4,8 +4,8 @@ |
#include "ash/screen_util.h" |
+#include "ash/public/cpp/config.h" |
#include "ash/shell.h" |
-#include "ash/shell_port.h" |
#include "ash/test/ash_test_base.h" |
#include "ash/wm/window_util.h" |
#include "ash/wm/wm_screen_util.h" |
@@ -106,7 +106,7 @@ TEST_F(ScreenUtilTest, ConvertRect) { |
TEST_F(ScreenUtilTest, ShelfDisplayBoundsInUnifiedDesktop) { |
// TODO: requires unified desktop mode. http://crbug.com/581462. |
- if (ShellPort::Get()->IsRunningInMash()) |
+ if (Shell::GetAshConfig() == Config::MASH) |
return; |
display_manager()->SetUnifiedDesktopEnabled(true); |