Use 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}
Showing
Please register or sign in to comment