Index: ui/events/gesture_event_details.cc |
diff --git a/ui/events/gesture_event_details.cc b/ui/events/gesture_event_details.cc |
index 3f478e5aaabce15848e5b1fe6f733e689ad9e994..70878de3c432e509f10eb3c2c523e67d6f3a0229 100644 |
--- a/ui/events/gesture_event_details.cc |
+++ b/ui/events/gesture_event_details.cc |
@@ -65,6 +65,14 @@ GestureEventDetails::GestureEventDetails(ui::EventType type, |
} |
} |
+GestureEventDetails::GestureEventDetails(const GestureEventDetails& details) |
+ : type_(details.type_), |
+ touch_points_(details.touch_points_), |
+ bounding_box_(details.bounding_box_), |
+ oldest_touch_id_(details.oldest_touch_id_) { |
+ memcpy(&data, &details.data, sizeof(details.data)); |
+} |
+ |
GestureEventDetails::Details::Details() { |
memset(this, 0, sizeof(Details)); |
} |