• tdresser's avatar
    Don't refcount tracking id -> slot id mapping. · 47a823b5
    tdresser authored
    Previously we tried to refcount the tracking id to slot id mapping.
    This broke in some circumstances where the number of press events was
    not equal to the number of release events.
    
    This patch switches to marking some touch events such that they don't
    modify the mapping, simplifying logic, and fixing a nasty bug.
    
    BUG=439051
    TEST=EventsXTest.TouchEventNotRemovingFromNativeMapping
    
    Review URL: https://codereview.chromium.org/785753002
    
    Cr-Commit-Position: refs/heads/master@{#313520}
    47a823b5
events_stub.cc 3.69 KB