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

Unified Diff: ios/chrome/browser/ui/fullscreen_controller.mm

Issue 2798903003: [ObjC ARC] Converts ios/chrome/browser/ui:ui_internal to ARC. (Closed)
Patch Set: Created 3 years, 8 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/fullscreen_controller.mm
diff --git a/ios/chrome/browser/ui/fullscreen_controller.mm b/ios/chrome/browser/ui/fullscreen_controller.mm
index ed7ac0ea475c38540f4c9e09a2d20e106f0f8743..8789d625c7d0bce0d8b06dee8c31b7376e469eb3 100644
--- a/ios/chrome/browser/ui/fullscreen_controller.mm
+++ b/ios/chrome/browser/ui/fullscreen_controller.mm
@@ -75,8 +75,7 @@ BOOL CGFloatEquals(CGFloat a, CGFloat b) {
}
// Access to the UIWebView's UIScrollView.
-@property(unsafe_unretained, nonatomic, readonly)
- CRWWebViewScrollViewProxy* scrollViewProxy;
+@property(weak, nonatomic, readonly) CRWWebViewScrollViewProxy* scrollViewProxy;
// The navigation controller of the page.
@property(nonatomic, readonly, assign) NavigationManager* navigationManager;
// The gesture recognizer set on the scrollview to detect tap. Must be readwrite
@@ -85,9 +84,7 @@ BOOL CGFloatEquals(CGFloat a, CGFloat b) {
UITapGestureRecognizer* userInteractionGestureRecognizer;
// The delegate responsible for providing the header height and moving the
// header.
-@property(unsafe_unretained, nonatomic, readonly)
- id<FullScreenControllerDelegate>
- delegate;
+@property(weak, nonatomic, readonly) id<FullScreenControllerDelegate> delegate;
// Current height of the header, in points. This is a pass-through method that
// fetches the header height from the FullScreenControllerDelegate.
@property(nonatomic, readonly) CGFloat headerHeight;

Powered by Google App Engine
This is Rietveld 408576698