| Index: ui/events/event.cc
|
| diff --git a/ui/events/event.cc b/ui/events/event.cc
|
| index 32fb97a2594a4dcb477b0203ddb2993e1eec2e03..250def7104d51ff21ddb107cc9968a867ae0fcd9 100644
|
| --- a/ui/events/event.cc
|
| +++ b/ui/events/event.cc
|
| @@ -136,6 +136,9 @@ Event::Event(EventType type, base::TimeDelta time_stamp, int flags)
|
| target_(NULL),
|
| phase_(EP_PREDISPATCH),
|
| result_(ER_UNHANDLED) {
|
| +#if defined(USE_OZONE)
|
| + window_ = 0;
|
| +#endif
|
| if (type_ < ET_LAST)
|
| name_ = EventTypeName(type_);
|
| }
|
| @@ -152,6 +155,10 @@ Event::Event(const base::NativeEvent& native_event,
|
| target_(NULL),
|
| phase_(EP_PREDISPATCH),
|
| result_(ER_UNHANDLED) {
|
| +#if defined(USE_OZONE)
|
| + window_ = 0;
|
| +#endif
|
| +
|
| base::TimeDelta delta = EventTimeForNow() - time_stamp_;
|
| if (type_ < ET_LAST)
|
| name_ = EventTypeName(type_);
|
| @@ -180,6 +187,10 @@ Event::Event(const Event& copy)
|
| target_(NULL),
|
| phase_(EP_PREDISPATCH),
|
| result_(ER_UNHANDLED) {
|
| +#if defined(USE_OZONE)
|
| + window_ = 0;
|
| +#endif
|
| +
|
| if (type_ < ET_LAST)
|
| name_ = EventTypeName(type_);
|
| }
|
|
|