Chromium Code Reviews| Index: ui/events/event.cc |
| diff --git a/ui/events/event.cc b/ui/events/event.cc |
| index 0cdf70d873394a0b5b5bd532df720c1a84ec3eb3..544401991feb1700d1331a1b2fdba26e9b364e5e 100644 |
| --- a/ui/events/event.cc |
| +++ b/ui/events/event.cc |
| @@ -246,6 +246,10 @@ Event::Event(const base::NativeEvent& native_event, |
| source_device_id_ = xiev->sourceid; |
| } |
| #endif |
| +#if defined(USE_OZONE) |
| + source_device_id_ = |
| + static_cast<const Event*>(native_event)->source_device_id(); |
| +#endif |
| } |
| Event::Event(const Event& copy) |