diff options
author | lazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-16 21:19:49 +0000 |
---|---|---|
committer | lazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-16 21:19:49 +0000 |
commit | 3f6fa6d4ce076abcd1e424383ea7278a24fd41c7 (patch) | |
tree | e8736e01da6b5bd569bc094c3884033ffcba856b /net/dns/dns_hosts.cc | |
parent | 9362a53ea9f7c4d17d6622c3694159fb5c71de95 (diff) | |
download | chromium_src-3f6fa6d4ce076abcd1e424383ea7278a24fd41c7.zip chromium_src-3f6fa6d4ce076abcd1e424383ea7278a24fd41c7.tar.gz chromium_src-3f6fa6d4ce076abcd1e424383ea7278a24fd41c7.tar.bz2 |
<webview>: Fix ptr access crash on browser plugin + interstitial teardown.
If browser plugin loaded an interstitial page as view contents
(e.g. loading plugin resulted in ssl-error), upon closing the
containing app, the interstitial would try to show back
(RenderWidgetHostView::WasShown) the original contents of the
RWHViewGuest, whose render_view_host_ was already in the middle of
destruction. We record the destruction phase and avoid calling methods
on RenderViewHost in this case.
BUG=270313
TEST=chrome app <webview>, load a guest pointing a page that results in
ssl-error page showing (Proceed to safety page, etc), close the app. The app
would crash without this change.
Added regression test.
Review URL: https://chromiumcodereview.appspot.com/23004002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/dns/dns_hosts.cc')
0 files changed, 0 insertions, 0 deletions