| Index: content/browser/frame_host/interstitial_page_impl.cc
|
| diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
|
| index 455ac74ebe69af1b12b14baa007d0263557c2beb..03e1bac4aa9912222a9d99bf26c9194add73db74 100644
|
| --- a/content/browser/frame_host/interstitial_page_impl.cc
|
| +++ b/content/browser/frame_host/interstitial_page_impl.cc
|
| @@ -8,9 +8,11 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/compiler_specific.h"
|
| -#include "base/message_loop/message_loop.h"
|
| +#include "base/location.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "base/threading/thread.h"
|
| #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
|
| #include "content/browser/dom_storage/session_storage_namespace_impl.h"
|
| @@ -289,10 +291,9 @@ void InterstitialPageImpl::Hide() {
|
| // Delete this and call Shutdown on 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.
|
| - base::MessageLoop::current()->PostNonNestableTask(
|
| - FROM_HERE,
|
| - base::Bind(&InterstitialPageImpl::Shutdown,
|
| - weak_ptr_factory_.GetWeakPtr()));
|
| + base::ThreadTaskRunnerHandle::Get()->PostNonNestableTask(
|
| + FROM_HERE, base::Bind(&InterstitialPageImpl::Shutdown,
|
| + weak_ptr_factory_.GetWeakPtr()));
|
| render_view_host_ = NULL;
|
| frame_tree_.root()->ResetForNewProcess();
|
| controller_->delegate()->DetachInterstitialPage();
|
|
|