Title: [216107] trunk/Source/WebCore
Revision
216107
Author
[email protected]
Date
2017-05-02 17:11:11 -0700 (Tue, 02 May 2017)

Log Message

Typo in AVAudioSessionCaptureDeviceManager.mm
https://bugs.webkit.org/show_bug.cgi?id=171572

Patch by Andrew Gold <[email protected]> on 2017-05-02
Reviewed by Jer Noble.

We attempt to call +[AVAudioSession sharedSession], but the actual method is
called +[AVAudioSession sharedInstance].

* platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm:
(WebCore::AVAudioSessionCaptureDeviceManager::refreshAudioCaptureDevices):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (216106 => 216107)


--- trunk/Source/WebCore/ChangeLog	2017-05-02 23:15:19 UTC (rev 216106)
+++ trunk/Source/WebCore/ChangeLog	2017-05-03 00:11:11 UTC (rev 216107)
@@ -1,3 +1,16 @@
+2017-05-02  Andrew Gold  <[email protected]>
+
+        Typo in AVAudioSessionCaptureDeviceManager.mm
+        https://bugs.webkit.org/show_bug.cgi?id=171572
+
+        Reviewed by Jer Noble.
+
+        We attempt to call +[AVAudioSession sharedSession], but the actual method is 
+        called +[AVAudioSession sharedInstance].
+
+        * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm:
+        (WebCore::AVAudioSessionCaptureDeviceManager::refreshAudioCaptureDevices):
+
 2017-05-02  Simon Fraser  <[email protected]>
 
         Improve scrolling tree logging

Modified: trunk/Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm (216106 => 216107)


--- trunk/Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm	2017-05-02 23:15:19 UTC (rev 216106)
+++ trunk/Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm	2017-05-03 00:11:11 UTC (rev 216107)
@@ -116,7 +116,7 @@
         m_listener = adoptNS([[WebAVAudioSessionAvailableInputsListener alloc] initWithCallback:[this] {
             refreshAudioCaptureDevices();
         }]);
-        [[AVAudioSession sharedSession] addObserver:m_listener.get() forKeyPath:@"availableInputs" options:0 context:AvailableInputsContext];
+        [[AVAudioSession sharedInstance] addObserver:m_listener.get() forKeyPath:@"availableInputs" options:0 context:AvailableInputsContext];
     }
 
     Vector<AVAudioSessionCaptureDevice> newAudioDevices;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to