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

Unified Diff: ios/chrome/browser/ui/reader_mode/reader_mode_view.h

Issue 2681773002: [ObjC ARC] Converts ios/chrome/browser/ui/reader_mode:reader_mode to ARC. (Closed)
Patch Set: Created 3 years, 10 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/reader_mode/reader_mode_view.h
diff --git a/ios/chrome/browser/ui/reader_mode/reader_mode_view.h b/ios/chrome/browser/ui/reader_mode/reader_mode_view.h
index 51ebe9743496f907d6f08b4604b35b1bb12d3b35..b98c0a1ebe1b0423245ba3224cc3654ca44323d0 100644
--- a/ios/chrome/browser/ui/reader_mode/reader_mode_view.h
+++ b/ios/chrome/browser/ui/reader_mode/reader_mode_view.h
@@ -35,7 +35,7 @@ class DistillerViewer;
- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
// The view's delegate.
-@property(nonatomic, readonly) id<ReaderModeViewDelegate> delegate;
+@property(weak, nonatomic, readonly) id<ReaderModeViewDelegate> delegate;
// Takes ownership of the viewer as it is the only handle to the distillation:
// When freed it cancels the distillation, if it is not finished yet. The

Powered by Google App Engine
This is Rietveld 408576698