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 a77b404878524a1766df8141cb8d3306b295c90d..b2f156979b1b2f4fd07c2af6f216a8a2d489027d 100644 |
--- a/ios/web/web_state/ui/crw_web_controller.mm |
+++ b/ios/web/web_state/ui/crw_web_controller.mm |
@@ -3978,9 +3978,11 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5; |
if (!_placeholderOverlayView || _overlayPreviewMode) |
return; |
- [NSObject cancelPreviousPerformRequestsWithTarget:self |
- selector:@selector(removeOverlay) |
- object:nil]; |
+ [NSObject |
+ cancelPreviousPerformRequestsWithTarget:self |
+ selector:@selector( |
+ removePlaceholderOverlay) |
+ object:nil]; |
// Remove overlay with transition. |
[UIView animateWithDuration:kSnapshotOverlayTransition |
animations:^{ |