Title: [246933] trunk/Source/WebKit
Revision
246933
Author
jer.no...@apple.com
Date
2019-06-28 13:15:33 -0700 (Fri, 28 Jun 2019)

Log Message

Unreviewed maccatalyst build fix; add ENABLE(FULLSCREEN) checks around calls to fullScreenManager().

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _closeAllMediaPresentations]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (246932 => 246933)


--- trunk/Source/WebKit/ChangeLog	2019-06-28 20:14:49 UTC (rev 246932)
+++ trunk/Source/WebKit/ChangeLog	2019-06-28 20:15:33 UTC (rev 246933)
@@ -1,3 +1,10 @@
+2019-06-28  Jer Noble  <jer.no...@apple.com>
+
+        Unreviewed maccatalyst build fix; add ENABLE(FULLSCREEN) checks around calls to fullScreenManager().
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView _closeAllMediaPresentations]):
+
 2019-06-28  Tim Horton  <timothy_hor...@apple.com>
 
         macCatalyst: Selected range sometimes wrong after autocorrection

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm (246932 => 246933)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm	2019-06-28 20:14:49 UTC (rev 246932)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm	2019-06-28 20:15:33 UTC (rev 246933)
@@ -4749,8 +4749,10 @@
         });
     }
 
+#if ENABLE(FULLSCREEN_API)
     if (auto fullScreenManager = _page->fullScreenManager(); fullScreenManager && fullScreenManager->isFullScreen())
         fullScreenManager->close();
+#endif
 }
 
 - (void)_stopAllMediaPlayback
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to