Index: ui/aura/event.cc |
diff --git a/ui/aura/event.cc b/ui/aura/event.cc |
index 832675cd216f13467cd1b2a37fe2f62f9b1e608b..1ecfab4ea83cf0d013d5cf49b06101d96b81c617 100644 |
--- a/ui/aura/event.cc |
+++ b/ui/aura/event.cc |
@@ -448,11 +448,10 @@ GestureEvent::GestureEvent(ui::EventType type, |
int y, |
int flags, |
base::Time time_stamp, |
- float delta_x, |
- float delta_y, |
+ const ui::GestureEventDetails& details, |
unsigned int touch_ids_bitfield) |
: LocatedEvent(type, gfx::Point(x, y), gfx::Point(x, y), flags), |
- details_(type, delta_x, delta_y), |
+ details_(details), |
touch_ids_bitfield_(touch_ids_bitfield) { |
set_time_stamp(base::TimeDelta::FromSeconds(time_stamp.ToDoubleT())); |
} |