WKPageIsPlayingVideoInEnhancedFullscreen availability mismatch
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Feb 2017 02:08:25 +0000 (02:08 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Feb 2017 02:08:25 +0000 (02:08 +0000)
https://bugs.webkit.org/show_bug.cgi?id=168952

Reviewed by Dan Bernstein.

* UIProcess/API/C/mac/WKPagePrivateMac.h: TARGET_OS_MAC is not the right thing to
check, as it's true on both macOS and iOS.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213112 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/C/mac/WKPagePrivateMac.h

index a28d26f..20d3be1 100644 (file)
@@ -1,5 +1,15 @@
 2017-02-27  Alexey Proskuryakov  <ap@apple.com>
 
+        WKPageIsPlayingVideoInEnhancedFullscreen availability mismatch
+        https://bugs.webkit.org/show_bug.cgi?id=168952
+
+        Reviewed by Dan Bernstein.
+
+        * UIProcess/API/C/mac/WKPagePrivateMac.h: TARGET_OS_MAC is not the right thing to
+        check, as it's true on both macOS and iOS.
+
+2017-02-27  Alexey Proskuryakov  <ap@apple.com>
+
         Export WKPluginInformationBundleShortVersionKey
         https://bugs.webkit.org/show_bug.cgi?id=168951
 
index 64cdf4a..caab73b 100644 (file)
@@ -63,7 +63,7 @@ WK_EXPORT id <_WKFullscreenDelegate> WKPageGetFullscreenDelegate(WKPageRef page)
 
 WK_EXPORT bool WKPageIsURLKnownHSTSHost(WKPageRef page, WKURLRef url);
 
-#if TARGET_OS_MAC
+#if !TARGET_OS_IPHONE
 WK_EXPORT bool WKPageIsPlayingVideoInEnhancedFullscreen(WKPageRef page);
 #endif