Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index 6c45b2368fed4ba84e19cb7c219481a76ac1065b..56d2f269459c2e863207627edc3c291ad6ed3f4c 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -856,15 +856,15 @@ bool RootWindow::DispatchCancelTouchEvent(ui::TouchEvent* event) { |
return DispatchTouchEvent(static_cast<TouchEvent*>(event)); |
} |
-ui::GestureEvent* RootWindow::CreateGestureEvent(ui::EventType type, |
+ui::GestureEvent* RootWindow::CreateGestureEvent( |
+ const ui::GestureEventDetails& details, |
const gfx::Point& location, |
int flags, |
base::Time time, |
- float param_first, |
- float param_second, |
unsigned int touch_id_bitfield) { |
- return new GestureEvent(type, location.x(), location.y(), flags, time, |
- param_first, param_second, touch_id_bitfield); |
+ return new GestureEvent(details.type(), location.x(), location.y(), |
+ flags, time, details, |
+ touch_id_bitfield); |
} |
ui::TouchEvent* RootWindow::CreateTouchEvent(ui::EventType type, |