diff options
Diffstat (limited to 'content/browser/web_contents/interstitial_page_impl.cc')
-rw-r--r-- | content/browser/web_contents/interstitial_page_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/web_contents/interstitial_page_impl.cc b/content/browser/web_contents/interstitial_page_impl.cc index 33743c6..9673e98 100644 --- a/content/browser/web_contents/interstitial_page_impl.cc +++ b/content/browser/web_contents/interstitial_page_impl.cc @@ -268,7 +268,8 @@ void InterstitialPageImpl::Hide() { // Shutdown the RVH asynchronously, as we may have been called from a RVH // delegate method, and we can't delete the RVH out from under itself. - MessageLoop::current()->PostNonNestableTask(FROM_HERE, + base::MessageLoop::current()->PostNonNestableTask( + FROM_HERE, base::Bind(&InterstitialPageImpl::Shutdown, weak_ptr_factory_.GetWeakPtr(), render_view_host_)); |