Index: ash/laser/laser_pointer_controller_unittest.cc |
diff --git a/ash/laser/laser_pointer_controller_unittest.cc b/ash/laser/laser_pointer_controller_unittest.cc |
index 69cc1cd6eeda1bee8973ebd42c7fa8b259e07355..f7b3ef6a4b9b9fb2618371ac84171f5dba6e0d12 100644 |
--- a/ash/laser/laser_pointer_controller_unittest.cc |
+++ b/ash/laser/laser_pointer_controller_unittest.cc |
@@ -7,8 +7,8 @@ |
#include "ash/laser/laser_pointer_controller_test_api.h" |
#include "ash/laser/laser_pointer_view.h" |
#include "ash/shell.h" |
+#include "ash/shell_port.h" |
#include "ash/test/ash_test_base.h" |
-#include "ash/wm_shell.h" |
#include "ui/events/test/event_generator.h" |
namespace ash { |
@@ -44,7 +44,7 @@ class LaserPointerControllerTest : public test::AshTestBase { |
// points from stylus movements as expected. |
TEST_F(LaserPointerControllerTest, LaserPointerRenderer) { |
// Crashes in mash mode: crbug.com/702657 |
- if (WmShell::Get()->IsRunningInMash()) |
+ if (ShellPort::Get()->IsRunningInMash()) |
return; |
LaserPointerControllerTestApi controller_test_api_(controller_.get()); |
@@ -121,7 +121,7 @@ TEST_F(LaserPointerControllerTest, LaserPointerRenderer) { |
// prediction as expected when it receives points from stylus movements. |
TEST_F(LaserPointerControllerTest, LaserPointerPrediction) { |
// Crashes in mash mode: crbug.com/702657 |
- if (WmShell::Get()->IsRunningInMash()) |
+ if (ShellPort::Get()->IsRunningInMash()) |
return; |
LaserPointerControllerTestApi controller_test_api_(controller_.get()); |