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

Unified Diff: ios/chrome/browser/ui/contextual_search/contextual_search_controller.h

Issue 2824493002: Reland of [ObjC ARC] Converts ios/chrome/browser/ui/contextual_search:contextual_search to ARC. (Closed)
Patch Set: fix test 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/contextual_search/contextual_search_controller.h
diff --git a/ios/chrome/browser/ui/contextual_search/contextual_search_controller.h b/ios/chrome/browser/ui/contextual_search/contextual_search_controller.h
index 2294b35bd3b5b239f57ca59e01ebec850c4a59b1..cfd346b4a7707f46018f423f85b79f73cd125567 100644
--- a/ios/chrome/browser/ui/contextual_search/contextual_search_controller.h
+++ b/ios/chrome/browser/ui/contextual_search/contextual_search_controller.h
@@ -92,7 +92,7 @@ enum StateChangeReason {
// the old panel and its views.
// This property can only be assigned a non-nil value, and can only be assigned
// a value when its current value is nil.
-@property(nonatomic, assign) ContextualSearchPanelView* panel;
+@property(nonatomic, weak) ContextualSearchPanelView* panel;
// Designated initializer.
- (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState

Powered by Google App Engine
This is Rietveld 408576698