commit | ff1eab6792bc012492f1ebcb1f042c520fe2d838 | [log] [tgz] |
---|---|---|
author | Nicolas Ouellet-payeur <nicolaso@chromium.org> | Thu Jul 19 18:41:50 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 19 18:41:50 2018 |
tree | 410927a11b22798aaca64bfb9ff45b5c25e5c7b6 | |
parent | d90e78e20a0eedf6cccc0de1f45fb9c1979b6297 [diff] |
Add MaybeValid() to WeakPtr This re-lands commit 35d520e5adbfbbb4a1a657a97b03a53e4e8f75b3 Instead of changing the behavior of operator bool(), we instead define a new method, WeakPtr::MaybeValid(). Outlined in the design doc: https://docs.google.com/document/d/1IGzq9Nx69GS_2iynGmPWo5sFAD2DcCyBY1zIvZwF7k8/edit Bug: 730693 Change-Id: I9fcc8804e11a8adb82111e21814b375b59231687 Reviewed-on: https://chromium-review.googlesource.com/1141085 Commit-Queue: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Wez <wez@chromium.org> Reviewed-by: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#576572}
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 .