Index: webrtc/modules/audio_device/ios/objc/RTCAudioSession.h |
diff --git a/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h b/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h |
index 0a04ce9d74864e084032784ebd5d1f64e50e83f0..73ba0c01fa08b7db1f557ec11410a75323685fcd 100644 |
--- a/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h |
+++ b/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h |
@@ -122,10 +122,7 @@ extern NSInteger const kRTCAudioSessionErrorConfiguration; |
/** Default constructor. Do not call init. */ |
+ (instancetype)sharedInstance; |
-/** Adds a delegate, which is held weakly. Even though it's held weakly, callers |
- * should still call |removeDelegate| when it's no longer required to ensure |
- * proper dealloc. This is due to internal use of an NSHashTable. |
- */ |
+/** Adds a delegate, which is held weakly. */ |
- (void)addDelegate:(id<RTCAudioSessionDelegate>)delegate; |
/** Removes an added delegate. */ |
- (void)removeDelegate:(id<RTCAudioSessionDelegate>)delegate; |