| Index: ui/views/widget/root_view.cc
|
| diff --git a/ui/views/widget/root_view.cc b/ui/views/widget/root_view.cc
|
| index b103943cd13e3bd81f2f5af4ac652c1a13e47c4e..3318760c4b932768b400dcab13decae1874ca1af 100644
|
| --- a/ui/views/widget/root_view.cc
|
| +++ b/ui/views/widget/root_view.cc
|
| @@ -588,7 +588,7 @@ void RootView::DispatchGestureEvent(ui::GestureEvent* event) {
|
| !event->details().bounding_box().IsEmpty()) {
|
| // TODO(tdanderson): Pass in the bounding box to GetEventHandlerForRect()
|
| // once crbug.com/313392 is resolved.
|
| - gfx::Rect touch_rect(event->details().bounding_box());
|
| + gfx::RectF touch_rect(event->details().bounding_box());
|
| touch_rect.set_origin(event->location());
|
| touch_rect.Offset(-touch_rect.width() / 2, -touch_rect.height() / 2);
|
| gesture_handler = GetEventHandlerForRect(touch_rect);
|
|
|