| Index: ash/drag_drop/drag_drop_controller.cc
|
| diff --git a/ash/drag_drop/drag_drop_controller.cc b/ash/drag_drop/drag_drop_controller.cc
|
| index 5d1611ed5595508978710c9c00e3915576d7151e..77fbd792fea57d5b682f20c5c671e3f3c68d0317 100644
|
| --- a/ash/drag_drop/drag_drop_controller.cc
|
| +++ b/ash/drag_drop/drag_drop_controller.cc
|
| @@ -21,6 +21,7 @@
|
| #include "ui/base/dragdrop/drag_drop_types.h"
|
| #include "ui/base/dragdrop/os_exchange_data_provider_aura.h"
|
| #include "ui/base/events/event.h"
|
| +#include "ui/base/events/event_utils.h"
|
| #include "ui/gfx/point.h"
|
| #include "ui/gfx/rect.h"
|
| #include "ui/gfx/rect_conversions.h"
|
| @@ -64,9 +65,14 @@ gfx::Rect AdjustDragImageBoundsForScaleAndOffset(
|
|
|
| void DispatchGestureEndToWindow(aura::Window* window) {
|
| if (window && window->delegate()) {
|
| - ui::GestureEvent gesture_end(ui::ET_GESTURE_END, 0, 0, 0,
|
| - base::Time::Now() - base::Time::FromDoubleT(0),
|
| - ui::GestureEventDetails(ui::ET_GESTURE_END, 0, 0), 0);
|
| + ui::GestureEvent gesture_end(
|
| + ui::ET_GESTURE_END,
|
| + 0,
|
| + 0,
|
| + 0,
|
| + ui::EventTimeForNow(),
|
| + ui::GestureEventDetails(ui::ET_GESTURE_END, 0, 0),
|
| + 0);
|
| window->delegate()->OnGestureEvent(&gesture_end);
|
| }
|
| }
|
|
|