Title: [217798] trunk/Source/WebCore
Revision
217798
Author
[email protected]
Date
2017-06-05 15:28:03 -0700 (Mon, 05 Jun 2017)

Log Message

Tried to fix the build when targrting macOS 10.12 using the macOS 10.13 developer beta SDK.

* platform/mac/WebPlaybackControlsManager.mm:
(-[WebPlaybackControlsManager togglePictureInPicture]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (217797 => 217798)


--- trunk/Source/WebCore/ChangeLog	2017-06-05 22:12:57 UTC (rev 217797)
+++ trunk/Source/WebCore/ChangeLog	2017-06-05 22:28:03 UTC (rev 217798)
@@ -2,6 +2,13 @@
 
         Tried to fix the build when targrting macOS 10.12 using the macOS 10.13 developer beta SDK.
 
+        * platform/mac/WebPlaybackControlsManager.mm:
+        (-[WebPlaybackControlsManager togglePictureInPicture]):
+
+2017-06-05  Dan Bernstein  <[email protected]>
+
+        Tried to fix the build when targrting macOS 10.12 using the macOS 10.13 developer beta SDK.
+
         * platform/spi/mac/AVFoundationSPI.h:
 
 2017-06-05  Dan Bernstein  <[email protected]>

Modified: trunk/Source/WebCore/platform/mac/WebPlaybackControlsManager.mm (217797 => 217798)


--- trunk/Source/WebCore/platform/mac/WebPlaybackControlsManager.mm	2017-06-05 22:12:57 UTC (rev 217797)
+++ trunk/Source/WebCore/platform/mac/WebPlaybackControlsManager.mm	2017-06-05 22:28:03 UTC (rev 217798)
@@ -338,15 +338,14 @@
     return NO;
 }
 
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
-
 - (void)togglePictureInPicture
 {
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
     if (_webPlaybackSessionInterfaceMac && _webPlaybackSessionInterfaceMac->webPlaybackSessionModel())
         _webPlaybackSessionInterfaceMac->webPlaybackSessionModel()->togglePictureInPicture();
+#endif
 }
 
-#endif // __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
 
 #pragma clang diagnostic pop
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to