Remove observer when removing delegate, in Instant.
I believe the crash (see bug link) is caused because we remove the delegate connection, but we never stop observing the WebContents. I haven't reproduced the crash, but I think this should fix the root cause. I've put in a bandaid as well, which might be redundant, but good for safety. Will remove it once I can confirm the fix works. BUG=141875 R=sky@chromium.org TEST=This type of crash (see bug) should go away. Review URL: https://chromiumcodereview.appspot.com/10829284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151173 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment