Title: [272604] trunk/Source/WebKitLegacy/mac
Revision
272604
Author
[email protected]
Date
2021-02-09 13:01:48 -0800 (Tue, 09 Feb 2021)

Log Message

Unreviewed build fix. Reapply r272500.

    Permission request API for MediaKeySystem access support
    https://bugs.webkit.org/show_bug.cgi?id=221187

    Unreviewed build fix for macCatalyst.

    Patch by Ryan Haddad <[email protected]> on 2021-02-08

    * WebCoreSupport/WebMediaKeySystemClient.h: Add a check for ENABLE(ENCRYPTED_MEDIA).

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (272603 => 272604)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2021-02-09 20:58:05 UTC (rev 272603)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2021-02-09 21:01:48 UTC (rev 272604)
@@ -1,3 +1,12 @@
+2021-02-08  Ryan Haddad  <[email protected]>
+
+        Permission request API for MediaKeySystem access support
+        https://bugs.webkit.org/show_bug.cgi?id=221187
+
+        Unreviewed build fix for macCatalyst.
+
+        * WebCoreSupport/WebMediaKeySystemClient.h: Add a check for ENABLE(ENCRYPTED_MEDIA).
+
 2021-02-08  Commit Queue  <[email protected]>
 
         Unreviewed, reverting r272480, r272481, and r272500.

Modified: trunk/Source/WebKitLegacy/mac/WebCoreSupport/WebMediaKeySystemClient.h (272603 => 272604)


--- trunk/Source/WebKitLegacy/mac/WebCoreSupport/WebMediaKeySystemClient.h	2021-02-09 20:58:05 UTC (rev 272603)
+++ trunk/Source/WebKitLegacy/mac/WebCoreSupport/WebMediaKeySystemClient.h	2021-02-09 21:01:48 UTC (rev 272604)
@@ -23,6 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#if ENABLE(ENCRYPTED_MEDIA)
+
 #import <WebCore/MediaKeySystemClient.h>
 
 class WebMediaKeySystemClient : public WebCore::MediaKeySystemClient {
@@ -35,3 +37,5 @@
     void requestMediaKeySystem(WebCore::MediaKeySystemRequest&) override;
     void cancelMediaKeySystemRequest(WebCore::MediaKeySystemRequest&) override { }
 };
+
+#endif // ENABLE(ENCRYPTED_MEDIA)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to