Skip to content
Permalink
Browse files
REGRESSION(r233845): EME Keysystem permission when MediaStream is dis…
…abled

https://bugs.webkit.org/show_bug.cgi?id=223185

Patch by Philippe Normand <pnormand@igalia.com> on 2021-03-15
Reviewed by Eric Carlson.

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

Canonical link: https://commits.webkit.org/235290@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
philn authored and webkit-commit-queue committed Mar 15, 2021
1 parent 0f84bcf commit 361fd4af5e05c5a9eaa8d46497f4e173b7fe58a1
Showing 2 changed files with 12 additions and 1 deletion.
@@ -1,3 +1,14 @@
2021-03-15 Philippe Normand <pnormand@igalia.com>

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 <peng.liu6@apple.com>

[GPUP][MSE] Add an IPC message to implement SourceBufferPrivateRemote::canSwitchToType()
@@ -8224,7 +8224,7 @@ void WebPageProxy::clearUserMediaState()

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());

0 comments on commit 361fd4a

Please sign in to comment.