Unobserve the host WebContents of an ExtensionHost on destruction, to prevent
commit89a8dc89370d682d3d5dc8d7dda94b19b750b7a2
authorkalman <kalman@chromium.org>
Tue, 17 Feb 2015 22:21:59 +0000 (17 14:21 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 17 Feb 2015 22:22:39 +0000 (17 22:22 +0000)
tree729d28a5a3458c76fe328e38a80aff97be1d0848
parent7ad216606be9aa7b6d0da6109fe1ecf5d4968dab
Unobserve the host WebContents of an ExtensionHost on destruction, to prevent
re-entrant WebContentsObserver events running during ExtensionHost destruction.
This also reverts the fix I made in crbug.com/456920 since this should cover it.

BUG=459239, 456920
R=mek@chromium.org

Review URL: https://codereview.chromium.org/930413002

Cr-Commit-Position: refs/heads/master@{#316671}
extensions/browser/extension_host.cc