| Index: content/browser/frame_host/navigator_impl.cc
|
| diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
|
| index 22a40a6a09c5178d680c015be596370c98a77b26..82689769f56d82e08abd174f236bfb1c218386e6 100644
|
| --- a/content/browser/frame_host/navigator_impl.cc
|
| +++ b/content/browser/frame_host/navigator_impl.cc
|
| @@ -263,9 +263,7 @@ void NavigatorImpl::DidFailProvisionalLoadWithError(
|
| // in the previous tab type. If you navigate somewhere that activates the
|
| // tab with the interstitial again, you'll see a flash before the new load
|
| // commits of the interstitial page.
|
| - FrameTreeNode* root =
|
| - render_frame_host->frame_tree_node()->frame_tree()->root();
|
| - if (root->render_manager()->interstitial_page() != NULL) {
|
| + if (delegate_ && delegate_->ShowingInterstitialPage()) {
|
| LOG(WARNING) << "Discarding message during interstitial.";
|
| return;
|
| }
|
|
|