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

Unified Diff: ios/chrome/browser/ui/tab_switcher/tab_switcher_cache.h

Issue 2810193002: [ObjC ARC] Converts ios/chrome/browser/ui/tab_switcher:tab_switcher to ARC. (Closed)
Patch Set: cast 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/tab_switcher/tab_switcher_cache.h
diff --git a/ios/chrome/browser/ui/tab_switcher/tab_switcher_cache.h b/ios/chrome/browser/ui/tab_switcher/tab_switcher_cache.h
index ae84fe27be3f8929cc1fcba5825d9c6efdf9cca0..32a87ad8cccf51c67ec2aee63ff8ba08f3a9f488 100644
--- a/ios/chrome/browser/ui/tab_switcher/tab_switcher_cache.h
+++ b/ios/chrome/browser/ui/tab_switcher/tab_switcher_cache.h
@@ -29,7 +29,7 @@ struct PendingSnapshotRequest {
// cached and freed under memory pressure.
@interface TabSwitcherCache : NSObject<TabModelObserver>
-@property(nonatomic, readonly) TabModel* mainTabModel;
+@property(weak, nonatomic, readonly) TabModel* mainTabModel;
// Request a snapshot for the given |tab| of the given |size|, |completionBlock|
// will be called with the requested snapshot. Must be called from the main

Powered by Google App Engine
This is Rietveld 408576698