Chromium Code Reviews| Index: ios/web/web_state/ui/crw_web_controller.mm |
| diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm |
| index 43b1f97c2e818635ea150411989d4e579d704fcc..10a06247846f012b4eb8f263c0cb44cf6fee1f21 100644 |
| --- a/ios/web/web_state/ui/crw_web_controller.mm |
| +++ b/ios/web/web_state/ui/crw_web_controller.mm |
| @@ -691,6 +691,12 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5; |
| if (!self.webView) |
| return; |
| + if ([self.UIDelegate |
| + respondsToSelector:@selector( |
| + cancelJavaScriptDialogsForWebController:)]) { |
|
Eugene But (OOO till 7-30)
2015/12/04 23:24:11
Factoring SEL to a separate local variable can mak
kkhorimoto
2015/12/10 01:27:32
Done.
|
| + [self.UIDelegate cancelJavaScriptDialogsForWebController:self]; |
| + } |
| + |
| if (allowCache) |
| _expectedReconstructionURL = [self currentNavigationURL]; |
| else |