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

Unified Diff: ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm

Issue 2568843002: [ObjC ARC] Converts ios/chrome/browser/ui/elements:elements to ARC. (Closed)
Patch Set: missing_include 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/chrome/browser/ui/elements/selector_picker_presentation_controller.mm
diff --git a/ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm b/ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm
index e30632de9f6fee7687280b890ee2e44831057855..7454e1b337c6cd1572104de2ecd74cb4efb96a26 100644
--- a/ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm
+++ b/ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm
@@ -4,13 +4,12 @@
#import "ios/chrome/browser/ui/elements/selector_picker_presentation_controller.h"
-#import "base/mac/objc_property_releaser.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
-@interface SelectorPickerPresentationController () {
- base::mac::ObjCPropertyReleaser
- _propertyReleaser_SelectorPickerPresentationController;
-}
-@property(nonatomic, retain) UIView* dimmingView;
+@interface SelectorPickerPresentationController ()
+@property(nonatomic, strong) UIView* dimmingView;
@end
@implementation SelectorPickerPresentationController
@@ -22,8 +21,6 @@
self = [super initWithPresentedViewController:presented
presentingViewController:presenting];
if (self) {
- _propertyReleaser_SelectorPickerPresentationController.Init(
- self, [SelectorPickerPresentationController class]);
_dimmingView = [[UIView alloc] initWithFrame:CGRectZero];
_dimmingView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.4];
}

Powered by Google App Engine
This is Rietveld 408576698