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 516374bb17f410c6e94c5dd71dafcd5349b51b74..40b23e907dc1fcfda56b0b8e6d2e9013e6293a8e 100644 |
--- a/ios/web/web_state/ui/crw_web_controller.mm |
+++ b/ios/web/web_state/ui/crw_web_controller.mm |
@@ -1298,17 +1298,6 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5; |
_webStateImpl = nullptr; |
} |
-- (void)checkLinkPresenceUnderGesture:(UIGestureRecognizer*)gestureRecognizer |
- completionHandler:(void (^)(BOOL))completionHandler { |
- CGPoint webViewPoint = [gestureRecognizer locationInView:_webView]; |
- base::WeakNSObject<CRWWebController> weakSelf(self); |
- [self fetchDOMElementAtPoint:webViewPoint |
- completionHandler:^(NSDictionary* element) { |
- BOOL hasLink = [element[@"href"] length]; |
- completionHandler(hasLink); |
- }]; |
-} |
- |
- (void)setDOMElementForLastTouch:(NSDictionary*)element { |
_DOMElementForLastTouch.reset([element copy]); |
} |