Index: ios/web/web_state/ui/crw_web_controller_unittest.mm |
diff --git a/ios/web/web_state/ui/crw_web_controller_unittest.mm b/ios/web/web_state/ui/crw_web_controller_unittest.mm |
index 50832d9f32fa561457be7163a119864281f70c57..e3f2780e662a7d3199377919cd4f5ad2c071c4c8 100644 |
--- a/ios/web/web_state/ui/crw_web_controller_unittest.mm |
+++ b/ios/web/web_state/ui/crw_web_controller_unittest.mm |
@@ -196,7 +196,12 @@ typedef BOOL (^openExternalURLBlockType)(const GURL&); |
- (web::BlockedPopupInfo*)blockedPopupInfo { |
return _blockedPopupInfo.get(); |
} |
- |
+- (BOOL)webController:(CRWWebController*)webController |
+ shouldOpenURL:(const GURL&)URL |
+ mainDocumentURL:(const GURL&)mainDocumentURL |
+ linkClicked:(BOOL)linkClicked { |
+ return YES; |
+} |
@end |
@interface CountingObserver : NSObject<CRWWebControllerObserver> |