commit | 05ff85c02778369dd6ac93c7797eb001a3c49b9c | [log] [tgz] |
---|---|---|
author | Gabriel Charette <gab@chromium.org> | Thu Jan 10 18:11:13 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 10 18:11:13 2019 |
tree | f86e30616f6dafdfdb1794f02184c417e58e43a2 | |
parent | ee823d84d009286b1762b9c0170832401636ad1b [diff] |
[ui_controls] Refactor InputDispatcher's memory model. Extracted from https://chromium-review.googlesource.com/c/chromium/src/+/1392178 Removes manual ref-counting in favor of just-in-time creation + unique self ownership. Required for WeakPtr scheme in follow-up CL. Note: Patch set 1 tried to add checks that confirm the pre-existing assumptions made by InputDispatcher (i.e. that the input was successfully sent) but some scenarios fail those tests. To be investigated as a follow-up. R=grt@chromium.org, sadrul@chromium.org Bug: 892228, 640996 Change-Id: Ia1df67e809845a228c4a9a6b77da08de037cf621 Reviewed-on: https://chromium-review.googlesource.com/c/1400950 Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Greg Thompson <grt@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#621639}
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 .