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

Unified Diff: ios/chrome/browser/ui/contextual_search/contextual_search_results_view.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_results_view.h
diff --git a/ios/chrome/browser/ui/contextual_search/contextual_search_results_view.h b/ios/chrome/browser/ui/contextual_search/contextual_search_results_view.h
index d63227e42270872aa879e33c8ad3d2693dfbb691..09fd4a30450312ff2f050951389611e835692895 100644
--- a/ios/chrome/browser/ui/contextual_search/contextual_search_results_view.h
+++ b/ios/chrome/browser/ui/contextual_search/contextual_search_results_view.h
@@ -32,11 +32,11 @@
ContextualSearchTabProvider>
@property(nonatomic, assign) BOOL active;
// The tab that is credited with opening the search results tab.
-@property(nonatomic, assign) Tab* opener;
+@property(nonatomic, weak) Tab* opener;
// Object that can handle promoting the search results.
-@property(nonatomic, assign) id<ContextualSearchTabPromoter> promoter;
+@property(nonatomic, weak) id<ContextualSearchTabPromoter> promoter;
// Object that can determine if search results can be preloaded.
-@property(nonatomic, assign) id<ContextualSearchPreloadChecker> preloadChecker;
+@property(nonatomic, weak) id<ContextualSearchPreloadChecker> preloadChecker;
// YES if the search results have loaded and this view was visible.
@property(nonatomic, readonly) BOOL contentVisible;

Powered by Google App Engine
This is Rietveld 408576698