commit | d77c5029a13a83e676833aea61966a003564e57a | [log] [tgz] |
---|---|---|
author | chaopeng <chaopeng@chromium.org> | Wed Apr 10 23:50:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 10 23:50:01 2019 |
tree | d7a1a550c8ce512321b0f5805166ae81d7a56db6 | |
parent | 059035c6e0f15044881d30f314cbdd5e8c06ffe4 [diff] |
Move Viewport reset into DirectManipulationEventHandler The crash report shows DirectManipulation may call DirectManipulationEventHandler OnViewportStatusChanged to READY state after DirectManipulationHelper Destroyed then crash because we called Reset to invalidate DMHelper. In this CL, we pass the viewport size to DMEventHandler and use it to reset viewport at gesture end. Also DMEventHandler does not need to store pointer of DMHelper. Bug: 951293 Change-Id: I39a3402659b9ae117ab45288b68dd5d595e58457 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1562153 Commit-Queue: Jianpeng Chao <chaopeng@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#649712}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .