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

Unified Diff: ios/chrome/browser/ui/stack_view/title_label.mm

Issue 2859503002: Revert of [ObjC ARC] Converts ios/chrome/browser/ui/stack_view:stack_view 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
« no previous file with comments | « ios/chrome/browser/ui/stack_view/stack_view_toolbar_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/stack_view/title_label.mm
diff --git a/ios/chrome/browser/ui/stack_view/title_label.mm b/ios/chrome/browser/ui/stack_view/title_label.mm
index 8f6c98e0228209e934a2f278bc7ec36cda272654..841625e72dd5a4106467e9468147c7bd8d36e095 100644
--- a/ios/chrome/browser/ui/stack_view/title_label.mm
+++ b/ios/chrome/browser/ui/stack_view/title_label.mm
@@ -6,12 +6,8 @@
#include "base/logging.h"
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
-
@implementation TitleLabel {
- __weak id _accessibilityTarget;
+ id _accessibilityTarget; // weak
SEL _accessibilityAction;
}
@@ -24,10 +20,7 @@
}
- (void)accessibilityElementDidBecomeFocused {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
[_accessibilityTarget performSelector:_accessibilityAction withObject:self];
-#pragma clang diagnostic pop
}
@end
« no previous file with comments | « ios/chrome/browser/ui/stack_view/stack_view_toolbar_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698