| Index: components/exo/touch.cc
|
| diff --git a/components/exo/touch.cc b/components/exo/touch.cc
|
| index 7d06d80aad6aa699b200b2192d892429ada5317b..5394b67e071b771101a0ccf6ca72f27b2815647f 100644
|
| --- a/components/exo/touch.cc
|
| +++ b/components/exo/touch.cc
|
| @@ -77,9 +77,9 @@ void Touch::OnTouchEvent(ui::TouchEvent* event) {
|
|
|
| // Convert location to focus surface coordinate space.
|
| DCHECK(focus_);
|
| - gfx::Point location = event->location();
|
| - aura::Window::ConvertPointToTarget(target->window(), focus_->window(),
|
| - &location);
|
| + gfx::PointF location = event->location_f();
|
| + aura::Window::ConvertPointToTargetF(target->window(), focus_->window(),
|
| + &location);
|
|
|
| // Generate a touch down event for the focus surface. Note that this can
|
| // be different from the target surface.
|
| @@ -115,13 +115,12 @@ void Touch::OnTouchEvent(ui::TouchEvent* event) {
|
|
|
| DCHECK(focus_);
|
| // Convert location to focus surface coordinate space.
|
| - gfx::Point location = event->location();
|
| - aura::Window::ConvertPointToTarget(
|
| + gfx::PointF location = event->location_f();
|
| + aura::Window::ConvertPointToTargetF(
|
| static_cast<aura::Window*>(event->target()), focus_->window(),
|
| &location);
|
| -
|
| delegate_->OnTouchMotion(event->time_stamp(), event->touch_id(),
|
| - location);
|
| + event->location_f());
|
| send_details = true;
|
| } break;
|
| case ui::ET_TOUCH_CANCELLED: {
|
|
|