Title: [274423] trunk/Source/WebKit
Revision
274423
Author
[email protected]
Date
2021-03-15 09:39:40 -0700 (Mon, 15 Mar 2021)

Log Message

REGRESSION(r233845): EME Keysystem permission when MediaStream is disabled
https://bugs.webkit.org/show_bug.cgi?id=223185

Patch by Philippe Normand <[email protected]> on 2021-03-15
Reviewed by Eric Carlson.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::requestMediaKeySystemPermissionForFrame): This method is required for
EME build configurations, not MediaStream...

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (274422 => 274423)


--- trunk/Source/WebKit/ChangeLog	2021-03-15 16:08:10 UTC (rev 274422)
+++ trunk/Source/WebKit/ChangeLog	2021-03-15 16:39:40 UTC (rev 274423)
@@ -1,3 +1,14 @@
+2021-03-15  Philippe Normand  <[email protected]>
+
+        REGRESSION(r233845): EME Keysystem permission when MediaStream is disabled
+        https://bugs.webkit.org/show_bug.cgi?id=223185
+
+        Reviewed by Eric Carlson.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::requestMediaKeySystemPermissionForFrame): This method is required for
+        EME build configurations, not MediaStream...
+
 2021-03-15  Peng Liu  <[email protected]>
 
         [GPUP][MSE] Add an IPC message to implement SourceBufferPrivateRemote::canSwitchToType()

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (274422 => 274423)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2021-03-15 16:08:10 UTC (rev 274422)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2021-03-15 16:39:40 UTC (rev 274423)
@@ -8224,7 +8224,7 @@
 
 void WebPageProxy::requestMediaKeySystemPermissionForFrame(uint64_t mediaKeySystemID, FrameIdentifier frameID, const WebCore::SecurityOriginData& topLevelDocumentOriginData, const String& keySystem)
 {
-#if ENABLE(MEDIA_STREAM)
+#if ENABLE(ENCRYPTED_MEDIA)
     MESSAGE_CHECK(m_process, m_process->webFrame(frameID));
 
     auto origin = API::SecurityOrigin::create(topLevelDocumentOriginData.securityOrigin());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to