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

Unified Diff: ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.h

Issue 2933123002: [ObjC ARC] Converts ios/chrome/browser/ui/overscroll_actions:overscroll_actions to ARC. (Closed)
Patch Set: Created 3 years, 6 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
Index: ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.h
diff --git a/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.h b/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.h
index 825d261bd779a9759a59668a5df8f84f74626df4..6e0d710ca9aa4913f4d9026809b3ea8159e01d8a 100644
--- a/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.h
+++ b/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.h
@@ -86,12 +86,12 @@ extern NSString* const kOverscrollActionsDidEnd;
- (instancetype)initWithScrollView:(UIScrollView*)scrollView;
// The scrollview the overscroll controller will control.
-@property(nonatomic, readonly) UIScrollView* scrollView;
+@property(weak, nonatomic, readonly) UIScrollView* scrollView;
// The current state of the overscroll controller.
@property(nonatomic, assign, readonly) OverscrollState overscrollState;
// The delegate must be set for the OverscrollActionsController to work
// properly.
-@property(nonatomic, assign) id<OverscrollActionsControllerDelegate> delegate;
+@property(nonatomic, weak) id<OverscrollActionsControllerDelegate> delegate;
// Used to clear state maintained by the controller and de-register from
// notifications. After this call the controller ceases to function and will

Powered by Google App Engine
This is Rietveld 408576698