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

Unified Diff: webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm

Issue 2679913002: Remove use of selectors matching Apple private API names. (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: webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm
diff --git a/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm b/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm
index f6901844b5ae7a3b25cf0ee8c8b3aeed011cf673..4d9b9774408a52d80da7df2b054651418eec53bc 100644
--- a/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm
+++ b/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm
@@ -810,18 +810,18 @@ NSInteger const kRTCAudioSessionErrorConfiguration = -2;
- (void)notifyMediaServicesWereLost {
for (auto delegate : self.delegates) {
- SEL sel = @selector(audioSessionMediaServicesWereLost:);
+ SEL sel = @selector(audioSessionMediaServerTerminated:);
if ([delegate respondsToSelector:sel]) {
- [delegate audioSessionMediaServicesWereLost:self];
+ [delegate audioSessionMediaServerTerminated:self];
}
}
}
- (void)notifyMediaServicesWereReset {
for (auto delegate : self.delegates) {
- SEL sel = @selector(audioSessionMediaServicesWereReset:);
+ SEL sel = @selector(audioSessionMediaServerReset:);
if ([delegate respondsToSelector:sel]) {
- [delegate audioSessionMediaServicesWereReset:self];
+ [delegate audioSessionMediaServerReset:self];
}
}
}

Powered by Google App Engine
This is Rietveld 408576698