Index: content/browser/web_contents/interstitial_page_impl.cc |
=================================================================== |
--- content/browser/web_contents/interstitial_page_impl.cc (revision 168623) |
+++ content/browser/web_contents/interstitial_page_impl.cc (working copy) |
@@ -250,6 +250,9 @@ |
// already showing. That would result in bad things (unparented HWND on |
// Windows for example) happening. |
old_view->Show(); |
+ // WebContentsView implementations cached a pointer to the interstitial view |
+ // when we created it, so set the old original back. |
+ web_contents_->GetView()->SetView(old_view); |
} |
// If the focus was on the interstitial, let's keep it to the page. |