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

Unified Diff: ios/chrome/browser/voice/text_to_speech_listener.mm

Issue 2505933009: [ObjC ARC] Converts ios/chrome/browser/voice:tts to ARC.Automatically generated ARCMigrate commit… (Closed)
Patch Set: Created 4 years, 1 month 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/voice/BUILD.gn ('k') | ios/chrome/browser/voice/text_to_speech_parser.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/voice/text_to_speech_listener.mm
diff --git a/ios/chrome/browser/voice/text_to_speech_listener.mm b/ios/chrome/browser/voice/text_to_speech_listener.mm
index f9a8468dec0486c4bb5f40853d5621110704505c..e7378328133541a582dd08e000a355fc987d46cd 100644
--- a/ios/chrome/browser/voice/text_to_speech_listener.mm
+++ b/ios/chrome/browser/voice/text_to_speech_listener.mm
@@ -16,6 +16,10 @@
#import "ios/chrome/browser/voice/voice_search_url_rewriter.h"
#include "url/gurl.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
#pragma mark - TextToSpeechListener Private Interface
class TextToSpeechWebStateObserver;
@@ -23,7 +27,7 @@ class TextToSpeechWebStateObserver;
@interface TextToSpeechListener ()
// The TextToSpeechListenerDelegate passed on initialization.
-@property(nonatomic, readonly) id<TextToSpeechListenerDelegate> delegate;
+@property(weak, nonatomic, readonly) id<TextToSpeechListenerDelegate> delegate;
@end
« no previous file with comments | « ios/chrome/browser/voice/BUILD.gn ('k') | ios/chrome/browser/voice/text_to_speech_parser.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698