commit | 379c4d392d4ae96f8abba73053273bc5acbfdd59 | [log] [tgz] |
---|---|---|
author | Gabriel Marin <gmx@chromium.org> | Wed Jun 19 20:24:13 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 19 20:24:13 2019 |
tree | f82f7250db505166ab29b9ac91f46b82c7a364b0 | |
parent | 1c21e156fbccd8fb096239a42d8cc67df3d3b668 [diff] |
Get WeakPtrs using a WeakPtrFactory and pure virtual methods This avoids lifetime issues with SupportsWeakPointer, which is unsafe with respect to the order in which collectors are destroyed and when weak pointers are invalidated. BUG=b:134761848 Change-Id: I4a09dabd81079811b456acb7aca8c653c804edc2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666802 Commit-Queue: Gabriel Marin <gmx@chromium.org> Reviewed-by: Gabriel Marin <gmx@chromium.org> Reviewed-by: Mike Wittman <wittman@chromium.org> Cr-Commit-Position: refs/heads/master@{#670622}
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 .