| Index: ash/magnifier/partial_magnification_controller.cc
|
| diff --git a/ash/magnifier/partial_magnification_controller.cc b/ash/magnifier/partial_magnification_controller.cc
|
| index 681e4438b8696259b8879483c34512e4fa5f10ca..4bc16b0d3b30d15442ec2c9eba1cd3e0def22b60 100644
|
| --- a/ash/magnifier/partial_magnification_controller.cc
|
| +++ b/ash/magnifier/partial_magnification_controller.cc
|
| @@ -137,7 +137,8 @@ void PartialMagnificationController::CreateMagnifierWindow() {
|
|
|
| root_window->AddObserver(this);
|
|
|
| - gfx::Point mouse(root_window->GetDispatcher()->GetLastMouseLocationInRoot());
|
| + gfx::Point mouse(
|
| + root_window->GetHost()->dispatcher()->GetLastMouseLocationInRoot());
|
|
|
| zoom_widget_ = new views::Widget;
|
| views::Widget::InitParams params(
|
| @@ -202,7 +203,7 @@ aura::Window* PartialMagnificationController::GetCurrentRootWindow() {
|
| iter != root_windows.end(); ++iter) {
|
| aura::Window* root_window = *iter;
|
| if (root_window->ContainsPointInRoot(
|
| - root_window->GetDispatcher()->GetLastMouseLocationInRoot()))
|
| + root_window->GetHost()->dispatcher()->GetLastMouseLocationInRoot()))
|
| return root_window;
|
| }
|
| return NULL;
|
|
|