Index: ash/magnifier/magnification_controller_unittest.cc |
diff --git a/ash/magnifier/magnification_controller_unittest.cc b/ash/magnifier/magnification_controller_unittest.cc |
index 63608fc74ddb94c4181eaf26bf3b91d8e15e5edc..2f87ee112d5ec6760495df798a65a97b2f2e8641 100644 |
--- a/ash/magnifier/magnification_controller_unittest.cc |
+++ b/ash/magnifier/magnification_controller_unittest.cc |
@@ -32,7 +32,7 @@ class MagnificationControllerTest: public test::AshTestBase { |
AshTestBase::SetUp(); |
UpdateDisplay(base::StringPrintf("%dx%d", kRootWidth, kRootHeight)); |
- aura::RootWindow* root = GetRootWindow(); |
+ aura::Window* root = GetRootWindow(); |
gfx::Rect root_bounds(root->bounds()); |
#if defined(OS_WIN) |
@@ -48,13 +48,13 @@ class MagnificationControllerTest: public test::AshTestBase { |
} |
protected: |
- aura::RootWindow* GetRootWindow() const { |
+ aura::Window* GetRootWindow() const { |
return Shell::GetPrimaryRootWindow(); |
} |
std::string GetHostMouseLocation() { |
gfx::Point point; |
- GetRootWindow()->QueryMouseLocationForTest(&point); |
+ GetRootWindow()->GetDispatcher()->QueryMouseLocationForTest(&point); |
return point.ToString(); |
} |