| Index: ash/host/ash_window_tree_host.cc
|
| diff --git a/ash/host/ash_window_tree_host.cc b/ash/host/ash_window_tree_host.cc
|
| index c704aa6708a89b912b7239894ee0fce54041a052..aa2af959280bc47447255baccbabeccd6c69081e 100644
|
| --- a/ash/host/ash_window_tree_host.cc
|
| +++ b/ash/host/ash_window_tree_host.cc
|
| @@ -39,7 +39,7 @@ void AshWindowTreeHost::TranslateLocatedEvent(ui::LocatedEvent* event) {
|
| aura::Window* root_window = wth->window();
|
| aura::client::ScreenPositionClient* screen_position_client =
|
| aura::client::GetScreenPositionClient(root_window);
|
| - gfx::Rect local(wth->GetBounds().size());
|
| + gfx::Rect local(wth->GetBoundsInPixels().size());
|
| local.Inset(GetHostInsets());
|
|
|
| if (screen_position_client && !local.Contains(event->location())) {
|
|
|