commit | 201d4978748685804b4f9f67fe83368f99149112 | [log] [tgz] |
---|---|---|
author | Xiaocheng Hu <xiaochengh@chromium.org> | Wed Jan 23 18:04:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 23 18:04:01 2019 |
tree | edfc17fb2c65a65b5932ef53acb0cbe41654cf2e | |
parent | cbd3312d39c94b28933bdc995dc5355652e9e6bc [diff] |
Use weak pointer to reference SpellCheckRequest from outside Blink Blink Oilpan can't automatically remove pending spellcheck requests of a closed document, as the requests are referenced by SpellCheckProvider, which is out of Blink. This may become a leak source as revealed by crbug.com/855383. This patch prevents leak by changing the reference into a weak pointer. Bug: 855383 Cq-Include-Trybots: luci.chromium.try:linux_chromium_asan_rel_ng Change-Id: Ibdd535ddb51351a3e30776812dcd6ac4234feae3 Reviewed-on: https://chromium-review.googlesource.com/c/1428085 Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#625260}
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 .