Chromium Code Reviews| Index: ui/events/event.cc |
| =================================================================== |
| --- ui/events/event.cc (revision 286562) |
| +++ ui/events/event.cc (working copy) |
| @@ -456,6 +456,9 @@ |
| #endif |
| latency()->AddLatencyNumber(INPUT_EVENT_LATENCY_UI_COMPONENT, 0, 0); |
| + |
| + if (type() == ET_TOUCH_PRESSED) |
| + IncrementTouchIdRefCount(native_event); |
| } |
| TouchEvent::TouchEvent(EventType type, |