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

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

Issue 2396553002: [ARC] Converts part of ios/web/ui to ARC.
Patch Set: co Created 4 years, 2 months 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
« no previous file with comments | « ios/web/web_state/ui/crw_touch_tracking_recognizer.h ('k') | ios/web/web_state/ui/crw_web_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_touch_tracking_recognizer.mm
diff --git a/ios/web/web_state/ui/crw_touch_tracking_recognizer.mm b/ios/web/web_state/ui/crw_touch_tracking_recognizer.mm
index 0b93d0d8de966bc818431e8fb608c69dbfed941f..e9d12be06d329bef2f0e57056c7814c00ef65877 100644
--- a/ios/web/web_state/ui/crw_touch_tracking_recognizer.mm
+++ b/ios/web/web_state/ui/crw_touch_tracking_recognizer.mm
@@ -4,8 +4,12 @@
#import "ios/web/web_state/ui/crw_touch_tracking_recognizer.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
@interface CRWTouchTrackingRecognizer () <UIGestureRecognizerDelegate> {
- id<CRWTouchTrackingDelegate> _delegate; // weak
+ id<CRWTouchTrackingDelegate> __weak _delegate;
}
@end
« no previous file with comments | « ios/web/web_state/ui/crw_touch_tracking_recognizer.h ('k') | ios/web/web_state/ui/crw_web_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698