Fix for crash in GuestViewBase::FindReply.
There are two problems here: 1) The GuestViewBase received a FindReply while its WebContents was in the process of being destroyed. This patch adds a check in WebContentsImpl::NotifyFindReply to prevent this. 2) During destruction of GuestViewBase, there is a period of time when there is no owner WebContents, but attached() still returns true. This patch ensures that that attached() will return false as soon as |owner_web_contents_| is cleared. BUG=642733 Review-Url: https://codereview.chromium.org/2300663002 Cr-Commit-Position: refs/heads/master@{#415697}
Showing
Please register or sign in to comment