Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2595213003: Enable -Wundeclared-selector on ios. (Closed)
Patch Set: Fix more warnings. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:^{

Powered by Google App Engine
This is Rietveld 408576698