Diff
Modified: trunk/Source/WTF/ChangeLog (293918 => 293919)
--- trunk/Source/WTF/ChangeLog 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WTF/ChangeLog 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,18 @@
2022-05-06 Brent Fulgham <[email protected]>
+ Remove internal WKPreference for non-iTunesAVOutput now that all platform support it
+ https://bugs.webkit.org/show_bug.cgi?id=240141
+
+ Reviewed by Eric Carlson.
+
+ WebKit on macOS has used a different AV Output target than IOS_FAMILY targets because those platforms lacked
+ the AVOutput option. Now that all platforms share this target, we can consolidate on the correct endpoint and
+ remove this preference code.
+
+ * Scripts/Preferences/WebPreferencesInternal.yaml:
+
+2022-05-06 Brent Fulgham <[email protected]>
+
Remove the viewportFitEnabled WKPreference now that it is always on
https://bugs.webkit.org/show_bug.cgi?id=240147
Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml (293918 => 293919)
--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,4 +1,4 @@
-# Copyright (c) 2020 Apple Inc. All rights reserved.
+# Copyright (c) 2020-2022 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -977,17 +977,6 @@
WebKit:
default: false
-# FIXME: Remove once <rdar://73830961> has been fixed
-UseiTunesAVOutputContext:
- type: bool
- humanReadableName: "Use iTunes AVOutputContext"
- humanReadableDescription: "Use iTunes AVOutputContext"
- webcoreBinding: none
- condition: ENABLE(WIRELESS_PLAYBACK_TARGET)
- defaultValue:
- WebKit:
- default: true
-
WebAPIStatisticsEnabled:
type: bool
humanReadableName: "Web API Statistics"
Modified: trunk/Source/WebCore/ChangeLog (293918 => 293919)
--- trunk/Source/WebCore/ChangeLog 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/ChangeLog 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,3 +1,29 @@
+2022-05-06 Brent Fulgham <[email protected]>
+
+ Remove internal WKPreference for non-iTunesAVOutput now that all platform support it
+ https://bugs.webkit.org/show_bug.cgi?id=240141
+
+ Reviewed by Eric Carlson.
+
+ WebKit on macOS has used a different AV Output target than IOS_FAMILY targets because those platforms lacked
+ the AVOutput option. Now that all platforms share this target, we can consolidate on the correct endpoint and
+ remove this preference code.
+
+ * Modules/airplay/WebMediaSessionManager.cpp:
+ (WebCore::WebMediaSessionManager::showPlaybackTargetPicker):
+ * Modules/airplay/WebMediaSessionManagerClient.h:
+ (WebCore::WebMediaSessionManagerClient::alwaysOnLoggingAllowed const):
+ (WebCore::WebMediaSessionManagerClient::useiTunesAVOutputContext const): Deleted.
+ * platform/graphics/MediaPlaybackTargetPicker.h:
+ * platform/graphics/avfoundation/objc/AVPlaybackTargetPicker.h:
+ * platform/graphics/avfoundation/objc/AVRoutePickerViewTargetPicker.h:
+ * platform/graphics/avfoundation/objc/AVRoutePickerViewTargetPicker.mm:
+ (WebCore::AVRoutePickerViewTargetPicker::outputContextInternal):
+ (WebCore::AVRoutePickerViewTargetPicker::showPlaybackTargetPicker):
+ * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.h:
+ * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm:
+ (WebCore::MediaPlaybackTargetPickerMac::showPlaybackTargetPicker):
+
2022-05-06 Gabriel Nava Marino <[email protected]>
ASSERT in WebCore::StyleProperties::getGridTemplateValue
Modified: trunk/Source/WebCore/Modules/airplay/WebMediaSessionManager.cpp (293918 => 293919)
--- trunk/Source/WebCore/Modules/airplay/WebMediaSessionManager.cpp 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/Modules/airplay/WebMediaSessionManager.cpp 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015-2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -257,7 +257,7 @@
ALWAYS_LOG_MEDIASESSIONMANAGER(__func__, m_clientState[index].get());
bool hasActiveRoute = flagsAreSet(m_clientState[index]->flags, MediaProducerMediaState::IsPlayingToExternalDevice);
- targetPicker().showPlaybackTargetPicker(client.platformView(), FloatRect(rect), hasActiveRoute, useDarkAppearance, client.useiTunesAVOutputContext());
+ targetPicker().showPlaybackTargetPicker(client.platformView(), FloatRect(rect), hasActiveRoute, useDarkAppearance);
}
void WebMediaSessionManager::clientStateDidChange(WebMediaSessionManagerClient& client, PlaybackTargetClientContextIdentifier contextId, MediaProducerMediaStateFlags newFlags)
Modified: trunk/Source/WebCore/Modules/airplay/WebMediaSessionManagerClient.h (293918 => 293919)
--- trunk/Source/WebCore/Modules/airplay/WebMediaSessionManagerClient.h 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/Modules/airplay/WebMediaSessionManagerClient.h 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015-2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -44,7 +44,6 @@
virtual void setShouldPlayToPlaybackTarget(PlaybackTargetClientContextIdentifier, bool) = 0;
virtual void playbackTargetPickerWasDismissed(PlaybackTargetClientContextIdentifier) = 0;
virtual bool alwaysOnLoggingAllowed() const { return false; }
- virtual bool useiTunesAVOutputContext() const { return true; }
virtual PlatformView* platformView() const = 0;
};
Modified: trunk/Source/WebCore/platform/graphics/MediaPlaybackTargetPicker.cpp (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/MediaPlaybackTargetPicker.cpp 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/MediaPlaybackTargetPicker.cpp 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -73,7 +73,7 @@
m_pendingActionTimer.startOneShot(pendingActionInterval);
}
-void MediaPlaybackTargetPicker::showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool, bool, bool)
+void MediaPlaybackTargetPicker::showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool, bool)
{
ASSERT_NOT_REACHED();
}
Modified: trunk/Source/WebCore/platform/graphics/MediaPlaybackTargetPicker.h (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/MediaPlaybackTargetPicker.h 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/MediaPlaybackTargetPicker.h 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -51,7 +51,7 @@
virtual ~MediaPlaybackTargetPicker();
- virtual void showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance, bool useiTunesAVOutputContext);
+ virtual void showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance);
virtual void startingMonitoringPlaybackTargets();
virtual void stopMonitoringPlaybackTargets();
virtual void invalidatePlaybackTargets();
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVOutputDeviceMenuControllerTargetPicker.h (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVOutputDeviceMenuControllerTargetPicker.h 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVOutputDeviceMenuControllerTargetPicker.h 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2020-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -45,7 +45,7 @@
void currentDeviceDidChange();
private:
- void showPlaybackTargetPicker(NSView *, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance, bool) final;
+ void showPlaybackTargetPicker(NSView *, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance) final;
void startingMonitoringPlaybackTargets() final;
void stopMonitoringPlaybackTargets() final;
void invalidatePlaybackTargets() final;
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVOutputDeviceMenuControllerTargetPicker.mm (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVOutputDeviceMenuControllerTargetPicker.mm 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVOutputDeviceMenuControllerTargetPicker.mm 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2020-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -101,7 +101,7 @@
client()->currentDeviceChanged();
}
-void AVOutputDeviceMenuControllerTargetPicker::showPlaybackTargetPicker(NSView *, const FloatRect& location, bool hasActiveRoute, bool useDarkAppearance, bool)
+void AVOutputDeviceMenuControllerTargetPicker::showPlaybackTargetPicker(NSView *, const FloatRect& location, bool hasActiveRoute, bool useDarkAppearance)
{
if (!client() || m_showingMenu)
return;
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVPlaybackTargetPicker.h (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVPlaybackTargetPicker.h 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVPlaybackTargetPicker.h 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2020-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -56,7 +56,7 @@
}
virtual ~AVPlaybackTargetPicker() = default;
- virtual void showPlaybackTargetPicker(NSView *, const FloatRect&, bool checkActiveRoute, bool useDarkAppearancebool, bool useiTunesAVOutputContext) = 0;
+ virtual void showPlaybackTargetPicker(NSView *, const FloatRect&, bool checkActiveRoute, bool useDarkAppearancebool) = 0;
virtual void startingMonitoringPlaybackTargets() = 0;
virtual void stopMonitoringPlaybackTargets() = 0;
virtual void invalidatePlaybackTargets() = 0;
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVRoutePickerViewTargetPicker.h (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVRoutePickerViewTargetPicker.h 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVRoutePickerViewTargetPicker.h 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2020-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -49,7 +49,7 @@
void devicePickerWasDismissed();
private:
- void showPlaybackTargetPicker(NSView *, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance, bool useiTunesAVOutputContext) final;
+ void showPlaybackTargetPicker(NSView *, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance) final;
void startingMonitoringPlaybackTargets() final;
void stopMonitoringPlaybackTargets() final;
void invalidatePlaybackTargets() final;
@@ -58,7 +58,7 @@
AVRoutePickerView *devicePicker();
AVRouteDetector *routeDetector();
- AVOutputContext * outputContextInternal(bool);
+ AVOutputContext * outputContextInternal();
bool hasActiveRoute() const;
RetainPtr<AVRouteDetector> m_routeDetector;
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVRoutePickerViewTargetPicker.mm (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVRoutePickerViewTargetPicker.mm 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVRoutePickerViewTargetPicker.mm 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2020-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -82,13 +82,10 @@
[m_routePickerViewDelegate clearCallback];
}
-AVOutputContext * AVRoutePickerViewTargetPicker::outputContextInternal(bool useiTunesAVOutputContext)
+AVOutputContext * AVRoutePickerViewTargetPicker::outputContextInternal()
{
if (!m_outputContext) {
- if (useiTunesAVOutputContext)
- m_outputContext = [PAL::getAVOutputContextClass() iTunesAudioContext];
- else
- m_outputContext = [PAL::getAVOutputContextClass() outputContext];
+ m_outputContext = [PAL::getAVOutputContextClass() iTunesAudioContext];
ASSERT(m_outputContext);
if (m_outputContext)
[[NSNotificationCenter defaultCenter] addObserver:m_routePickerViewDelegate.get() selector:@selector(notificationHandler:) name:PAL::AVOutputContextOutputDevicesDidChangeNotification object:m_outputContext.get()];
@@ -119,7 +116,7 @@
return m_routeDetector.get();
}
-void AVRoutePickerViewTargetPicker::showPlaybackTargetPicker(NSView *view, const FloatRect& rectInScreenCoordinates, bool hasActiveRoute, bool useDarkAppearance, bool useiTunesAVOutputContext)
+void AVRoutePickerViewTargetPicker::showPlaybackTargetPicker(NSView *view, const FloatRect& rectInScreenCoordinates, bool hasActiveRoute, bool useDarkAppearance)
{
if (!client())
return;
@@ -132,7 +129,7 @@
auto rectInWindowCoordinates = [view.window convertRectFromScreen:NSMakeRect(rectInScreenCoordinates.x(), rectInScreenCoordinates.y(), 1.0, 1.0)];
auto rectInViewCoordinates = [view convertRect:rectInWindowCoordinates fromView:view];
- [picker showRoutePickingControlsForOutputContext:outputContextInternal(useiTunesAVOutputContext) relativeToRect:rectInViewCoordinates ofView:view];
+ [picker showRoutePickingControlsForOutputContext:outputContextInternal() relativeToRect:rectInViewCoordinates ofView:view];
}
void AVRoutePickerViewTargetPicker::startingMonitoringPlaybackTargets()
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.h (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.h 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.h 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015-2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -41,7 +41,7 @@
explicit MediaPlaybackTargetPickerMac(MediaPlaybackTargetPicker::Client&);
virtual ~MediaPlaybackTargetPickerMac();
- void showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance, bool useiTunesAVOutputContext) final;
+ void showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance) final;
void startingMonitoringPlaybackTargets() final;
void stopMonitoringPlaybackTargets() final;
void invalidatePlaybackTargets() final;
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm (293918 => 293919)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015-2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -84,9 +84,9 @@
return *m_routePicker;
}
-void MediaPlaybackTargetPickerMac::showPlaybackTargetPicker(PlatformView* view, const FloatRect& location, bool hasActiveRoute, bool useDarkAppearance, bool useiTunesAVOutputContext)
+void MediaPlaybackTargetPickerMac::showPlaybackTargetPicker(PlatformView* view, const FloatRect& location, bool hasActiveRoute, bool useDarkAppearance)
{
- routePicker().showPlaybackTargetPicker(view, location, hasActiveRoute, useDarkAppearance, useiTunesAVOutputContext);
+ routePicker().showPlaybackTargetPicker(view, location, hasActiveRoute, useDarkAppearance);
}
void MediaPlaybackTargetPickerMac::startingMonitoringPlaybackTargets()
Modified: trunk/Source/WebCore/platform/mock/MediaPlaybackTargetPickerMock.cpp (293918 => 293919)
--- trunk/Source/WebCore/platform/mock/MediaPlaybackTargetPickerMock.cpp 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/mock/MediaPlaybackTargetPickerMock.cpp 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -61,7 +61,7 @@
return WebCore::MediaPlaybackTargetMock::create(m_deviceName, m_state);
}
-void MediaPlaybackTargetPickerMock::showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance, bool)
+void MediaPlaybackTargetPickerMock::showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance)
{
if (!client() || m_showingMenu)
return;
Modified: trunk/Source/WebCore/platform/mock/MediaPlaybackTargetPickerMock.h (293918 => 293919)
--- trunk/Source/WebCore/platform/mock/MediaPlaybackTargetPickerMock.h 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebCore/platform/mock/MediaPlaybackTargetPickerMock.h 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -42,7 +42,7 @@
virtual ~MediaPlaybackTargetPickerMock();
- void showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance, bool) override;
+ void showPlaybackTargetPicker(PlatformView*, const FloatRect&, bool checkActiveRoute, bool useDarkAppearance) override;
void startingMonitoringPlaybackTargets() override;
void stopMonitoringPlaybackTargets() override;
void invalidatePlaybackTargets() override;
Modified: trunk/Source/WebKit/ChangeLog (293918 => 293919)
--- trunk/Source/WebKit/ChangeLog 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebKit/ChangeLog 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,3 +1,18 @@
+2022-05-06 Brent Fulgham <[email protected]>
+
+ Remove internal WKPreference for non-iTunesAVOutput now that all platform support it
+ https://bugs.webkit.org/show_bug.cgi?id=240141
+
+ Reviewed by Eric Carlson.
+
+ WebKit on macOS has used a different AV Output target than IOS_FAMILY targets because those platforms lacked
+ the AVOutput option. Now that all platforms share this target, we can consolidate on the correct endpoint and
+ remove this preference code.
+
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/mac/WebPageProxyMac.mm:
+ (WebKit::WebPageProxy::useiTunesAVOutputContext const): Deleted.
+
2022-05-06 J Pascoe <[email protected]>
[WebAuthn] Get rid of ASCAgentProxy instance after success/error/cancel
Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.h (293918 => 293919)
--- trunk/Source/WebKit/UIProcess/WebPageProxy.h 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.h 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1684,7 +1684,6 @@
void setShouldPlayToPlaybackTarget(WebCore::PlaybackTargetClientContextIdentifier, bool) final;
void playbackTargetPickerWasDismissed(WebCore::PlaybackTargetClientContextIdentifier) final;
bool alwaysOnLoggingAllowed() const final { return sessionID().isAlwaysOnLoggingAllowed(); }
- bool useiTunesAVOutputContext() const final;
PlatformView* platformView() const final;
#endif
Modified: trunk/Source/WebKit/UIProcess/mac/WebPageProxyMac.mm (293918 => 293919)
--- trunk/Source/WebKit/UIProcess/mac/WebPageProxyMac.mm 2022-05-06 19:26:51 UTC (rev 293918)
+++ trunk/Source/WebKit/UIProcess/mac/WebPageProxyMac.mm 2022-05-06 19:41:55 UTC (rev 293919)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2020 Apple Inc. All rights reserved.
+ * Copyright (C) 2010-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -642,11 +642,6 @@
return [pageClient().platformWindow() contentView];
}
-bool WebPageProxy::useiTunesAVOutputContext() const
-{
- return m_preferences->store().getBoolValueForKey(WebPreferencesKey::useiTunesAVOutputContextKey());
-}
-
#if ENABLE(UI_PROCESS_PDF_HUD)
void WebPageProxy::createPDFHUD(PDFPluginIdentifier identifier, const WebCore::IntRect& rect)