Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2025)

Unified Diff: ash/laser/laser_pointer_controller_unittest.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698