Modified: trunk/Source/WebKit2/ChangeLog (215626 => 215627)
--- trunk/Source/WebKit2/ChangeLog 2017-04-21 19:59:07 UTC (rev 215626)
+++ trunk/Source/WebKit2/ChangeLog 2017-04-21 20:01:16 UTC (rev 215627)
@@ -1,3 +1,16 @@
+2017-04-21 Jer Noble <[email protected]>
+
+ [WK2][MediaCapture] Remove now-unused WKWebViewConfiguration property for shouldCaptureAudioInUIProcess
+ https://bugs.webkit.org/show_bug.cgi?id=170847
+
+ Reviewed by Jon Lee.
+
+ * Shared/WebPreferencesDefinitions.h:
+ * UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
+ (-[WKWebViewConfiguration copyWithZone:]):
+ (-[WKWebViewConfiguration _shouldCaptureAudioInUIProcess]): Deleted.
+ (-[WKWebViewConfiguration _setShouldCaptureAudioInUIProcess:]): Deleted.
+
2017-04-21 Anders Carlsson <[email protected]>
Stop using deprecated APIs, part 4
Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (215626 => 215627)
--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h 2017-04-21 19:59:07 UTC (rev 215626)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h 2017-04-21 20:01:16 UTC (rev 215627)
@@ -264,7 +264,6 @@
macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, true, "Gamepads", "Web Gamepad API support") \
macro(InputEventsEnabled, inputEventsEnabled, Bool, bool, true, "Input Events", "Enable InputEvents support") \
macro(CredentialManagementEnabled, credentialManagementEnabled, Bool, bool, false, "Credential Management", "Enable Credential Management support") \
- macro(ShouldCaptureAudioInUIProcess, shouldCaptureAudioInUIProcess, Bool, bool, DEFAULT_SHOULD_CAPTURE_AUDIO_IN_UIPROCESS, "Capture", "Capture Audio in UIProcess") \
\
#define FOR_EACH_WEBKIT_DOUBLE_PREFERENCE(macro) \
Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm (215626 => 215627)
--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm 2017-04-21 19:59:07 UTC (rev 215626)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm 2017-04-21 20:01:16 UTC (rev 215627)
@@ -131,7 +131,6 @@
BOOL _controlledByAutomation;
#if ENABLE(MEDIA_STREAM)
BOOL _mediaStreamEnabled;
- BOOL _shouldCaptureAudioInUIProcess;
#endif
#if ENABLE(APPLE_PAY)
@@ -304,7 +303,6 @@
configuration->_controlledByAutomation = self->_controlledByAutomation;
#if ENABLE(MEDIA_STREAM)
configuration->_mediaStreamEnabled = self->_mediaStreamEnabled;
- configuration->_shouldCaptureAudioInUIProcess = self->_shouldCaptureAudioInUIProcess;
#endif
#if PLATFORM(IOS)
@@ -749,22 +747,6 @@
#endif
}
-- (BOOL)_shouldCaptureAudioInUIProcess
-{
-#if ENABLE(MEDIA_STREAM)
- return _shouldCaptureAudioInUIProcess;
-#else
- return NO;
-#endif
-}
-
-- (void)_setShouldCaptureAudioInUIProcess:(BOOL)value
-{
-#if ENABLE(MEDIA_STREAM)
- _shouldCaptureAudioInUIProcess = value;
-#endif
-}
-
#if PLATFORM(MAC)
- (BOOL)_showsURLsInToolTips
{