Title: [243944] trunk/Source
- Revision
- 243944
- Author
- eric.carl...@apple.com
- Date
- 2019-04-05 14:36:15 -0700 (Fri, 05 Apr 2019)
Log Message
Remove AUDIO_TOOLBOX_AUDIO_SESSION
https://bugs.webkit.org/show_bug.cgi?id=196653
<rdar://problem/49652098>
Reviewed by Jer Noble.
Source/WebKitLegacy/mac:
* WebView/WebPreferences.mm:
(-[WebPreferences setAudioSessionCategoryOverride:]):
Source/WTF:
* wtf/Platform.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (243943 => 243944)
--- trunk/Source/WTF/ChangeLog 2019-04-05 21:28:10 UTC (rev 243943)
+++ trunk/Source/WTF/ChangeLog 2019-04-05 21:36:15 UTC (rev 243944)
@@ -1,3 +1,13 @@
+2019-04-05 Eric Carlson <eric.carl...@apple.com>
+
+ Remove AUDIO_TOOLBOX_AUDIO_SESSION
+ https://bugs.webkit.org/show_bug.cgi?id=196653
+ <rdar://problem/49652098>
+
+ Reviewed by Jer Noble.
+
+ * wtf/Platform.h:
+
2019-04-05 Michael Catanzaro <mcatanz...@igalia.com>
Unreviewed manual rollout of r243929
Modified: trunk/Source/WTF/wtf/Platform.h (243943 => 243944)
--- trunk/Source/WTF/wtf/Platform.h 2019-04-05 21:28:10 UTC (rev 243943)
+++ trunk/Source/WTF/wtf/Platform.h 2019-04-05 21:36:15 UTC (rev 243944)
@@ -1071,7 +1071,6 @@
#endif
#if PLATFORM(IOS_FAMILY) && !PLATFORM(IOSMAC)
-#define HAVE_AUDIO_TOOLBOX_AUDIO_SESSION 1
#define HAVE_CELESTIAL 1
#define HAVE_CORE_ANIMATION_RENDER_SERVER 1
#endif
Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (243943 => 243944)
--- trunk/Source/WebKitLegacy/mac/ChangeLog 2019-04-05 21:28:10 UTC (rev 243943)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog 2019-04-05 21:36:15 UTC (rev 243944)
@@ -1,5 +1,16 @@
2019-04-05 Eric Carlson <eric.carl...@apple.com>
+ Remove AUDIO_TOOLBOX_AUDIO_SESSION
+ https://bugs.webkit.org/show_bug.cgi?id=196653
+ <rdar://problem/49652098>
+
+ Reviewed by Jer Noble.
+
+ * WebView/WebPreferences.mm:
+ (-[WebPreferences setAudioSessionCategoryOverride:]):
+
+2019-04-05 Eric Carlson <eric.carl...@apple.com>
+
Stop including <AudioToolbox/AudioSession.h>
https://bugs.webkit.org/show_bug.cgi?id=196648
<rdar://problem/39665771>
Modified: trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm (243943 => 243944)
--- trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm 2019-04-05 21:28:10 UTC (rev 243943)
+++ trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm 2019-04-05 21:36:15 UTC (rev 243944)
@@ -2380,7 +2380,6 @@
- (void)setAudioSessionCategoryOverride:(unsigned)override
{
-#if HAVE(AUDIO_TOOLBOX_AUDIO_SESSION)
if (override > AudioSession::AudioProcessing) {
// Clients are passing us OSTypes values from AudioToolbox/AudioSession.h,
// which need to be translated into AudioSession::CategoryType:
@@ -2408,7 +2407,6 @@
break;
}
}
-#endif
[self _setUnsignedIntValue:override forKey:WebKitAudioSessionCategoryOverride];
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes