| Index: ios/web/interstitials/web_interstitial_impl.mm
|
| diff --git a/ios/web/interstitials/web_interstitial_impl.mm b/ios/web/interstitials/web_interstitial_impl.mm
|
| index fc1bd1db2b43469e216566602133d222c9780dd5..d0470425437a8360c73b6cdd8ccb45995b338f8b 100644
|
| --- a/ios/web/interstitials/web_interstitial_impl.mm
|
| +++ b/ios/web/interstitials/web_interstitial_impl.mm
|
| @@ -90,8 +90,11 @@ void WebInterstitialImpl::DontProceed() {
|
|
|
| GetDelegate()->OnDontProceed();
|
|
|
| - // Reload last committed entry.
|
| - nav_manager->Reload(true /* check_for_repost */);
|
| + NSUserDefaults* user_defaults = [NSUserDefaults standardUserDefaults];
|
| + if (![user_defaults boolForKey:@"PendingIndexNavigationDisabled"]) {
|
| + // Reload last committed entry.
|
| + nav_manager->Reload(true /* check_for_repost */);
|
| + }
|
|
|
| delete this;
|
| }
|
|
|