DescriptionUse a weak pointer when binding GuestViewBase::DidAttach.
The lifetime of GuestViewBase doesn't match the lifetime of GuestViewMessageFilter, so it's possible that the GuestViewBase is already destroyed by the time this callback is called.
BUG=716223
Review-Url: https://codereview.chromium.org/2848723002
Cr-Commit-Position: refs/heads/master@{#468072}
Committed: https://chromium.googlesource.com/chromium/src/+/14efbd4e93447f07f72c3978aed2ef9b0a0464d1
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|