• jdduke's avatar
    Be explicit about forcing TouchSelectionController updates · fdcf817d
    jdduke authored
    Previously, cached values in the TouchSelectionController would be reset
    to force future selection updates. However, these cached values can
    actually be used outside of selection update calls, e.g., when force
    showing the selection from the current cached values. Instead of
    resetting the cached values, simply set a dirty bit that forces an
    update, avoiding issues when dealing with the reset values.
    
    BUG=393025
    
    Review URL: https://codereview.chromium.org/1127383007
    
    Cr-Commit-Position: refs/heads/master@{#329325}
    fdcf817d
touch_selection_controller.h 6.74 KB