-
Christopher Cameron authored
The profile_storage_ member of AvatarMenu is commented as "weak", but the lifetime relationship is not discussed. Use an actual weak pointer (ProfileAttributesStorage supports it already), and avoid dereferencing profile_storage_ if it is gone. Bug: 1008947, 1001215 Change-Id: I0e8a2fbb55465f1680c064c7cdb6193c93eb3e79 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1853647Reviewed-by:
Avi Drissman <avi@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#704908}
d5857f58