| 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 2e83b766c7ce18ac0eeec6e92a8d1c80b244ef39..4187248f05abc395d9c488a8ba14d1e31b82d500 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;
|
| }
|
|
|