Diff
Modified: trunk/Source/WebCore/ChangeLog (199895 => 199896)
--- trunk/Source/WebCore/ChangeLog 2016-04-22 19:42:24 UTC (rev 199895)
+++ trunk/Source/WebCore/ChangeLog 2016-04-22 19:44:08 UTC (rev 199896)
@@ -1,3 +1,12 @@
+2016-04-22 Ryan Haddad <[email protected]>
+
+ Fix builds that do not support AVKit
+
+ Unreviewed build fix.
+
+ * platform/ios/WebAVPlayerController.h:
+ * platform/ios/WebAVPlayerController.mm:
+
2016-04-22 Dave Hyatt <[email protected]>
REGRESSION (r189567): The top of Facebook's messenger.com looks visually broken
Modified: trunk/Source/WebCore/platform/ios/WebAVPlayerController.h (199895 => 199896)
--- trunk/Source/WebCore/platform/ios/WebAVPlayerController.h 2016-04-22 19:42:24 UTC (rev 199895)
+++ trunk/Source/WebCore/platform/ios/WebAVPlayerController.h 2016-04-22 19:44:08 UTC (rev 199896)
@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) && HAVE(AVKIT)
#import "AVKitSPI.h"
Modified: trunk/Source/WebCore/platform/ios/WebAVPlayerController.mm (199895 => 199896)
--- trunk/Source/WebCore/platform/ios/WebAVPlayerController.mm 2016-04-22 19:42:24 UTC (rev 199895)
+++ trunk/Source/WebCore/platform/ios/WebAVPlayerController.mm 2016-04-22 19:44:08 UTC (rev 199896)
@@ -27,7 +27,7 @@
#import "config.h"
#import "WebAVPlayerController.h"
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) && HAVE(AVKIT)
#import "AVKitSPI.h"
#import "Logging.h"
Modified: trunk/Source/WebKit2/ChangeLog (199895 => 199896)
--- trunk/Source/WebKit2/ChangeLog 2016-04-22 19:42:24 UTC (rev 199895)
+++ trunk/Source/WebKit2/ChangeLog 2016-04-22 19:44:08 UTC (rev 199896)
@@ -1,3 +1,17 @@
+2016-04-22 Ryan Haddad <[email protected]>
+
+ Fix builds that do not support AVKit
+
+ Unreviewed build fix.
+
+ * UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h:
+ * UIProcess/Cocoa/WebVideoFullscreenManagerProxy.mm:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::WebPageProxy):
+ (WebKit::WebPageProxy::reattachToWebProcess):
+ (WebKit::WebPageProxy::viewDidLeaveWindow):
+ * UIProcess/ios/WebPageProxyIOS.mm:
+
2016-04-22 Brady Eidson <[email protected]>
Modern IDB: Rework the ownership/RefCounting model of IDBConnectionToServer and IDBConnectionProxy.
Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h (199895 => 199896)
--- trunk/Source/WebKit2/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h 2016-04-22 19:42:24 UTC (rev 199895)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h 2016-04-22 19:44:08 UTC (rev 199896)
@@ -26,7 +26,7 @@
#ifndef WebVideoFullscreenManagerProxy_h
#define WebVideoFullscreenManagerProxy_h
-#if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
+#if PLATFORM(IOS) && HAVE(AVKIT) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
#include "MessageReceiver.h"
#include <WebCore/GraphicsLayer.h>
Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.mm (199895 => 199896)
--- trunk/Source/WebKit2/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.mm 2016-04-22 19:42:24 UTC (rev 199895)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.mm 2016-04-22 19:44:08 UTC (rev 199896)
@@ -26,7 +26,7 @@
#import "config.h"
#import "WebVideoFullscreenManagerProxy.h"
-#if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
+#if PLATFORM(IOS) && HAVE(AVKIT) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
#import "WebPageProxy.h"
#import "WebPlaybackSessionManagerProxy.h"
Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (199895 => 199896)
--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2016-04-22 19:42:24 UTC (rev 199895)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2016-04-22 19:44:08 UTC (rev 199896)
@@ -474,7 +474,7 @@
#if ENABLE(FULLSCREEN_API)
m_fullScreenManager = WebFullScreenManagerProxy::create(*this, m_pageClient.fullScreenManagerProxyClient());
#endif
-#if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
+#if PLATFORM(IOS) && HAVE(AVKIT) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
m_playbackSessionManager = WebPlaybackSessionManagerProxy::create(*this);
m_videoFullscreenManager = WebVideoFullscreenManagerProxy::create(*this, *m_playbackSessionManager);
#endif
@@ -712,7 +712,7 @@
#if ENABLE(FULLSCREEN_API)
m_fullScreenManager = WebFullScreenManagerProxy::create(*this, m_pageClient.fullScreenManagerProxyClient());
#endif
-#if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
+#if PLATFORM(IOS) && HAVE(AVKIT) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
m_playbackSessionManager = WebPlaybackSessionManagerProxy::create(*this);
m_videoFullscreenManager = WebVideoFullscreenManagerProxy::create(*this, *m_playbackSessionManager);
#endif
@@ -1412,7 +1412,7 @@
if (m_colorPicker)
endColorPicker();
#endif
-#if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
+#if PLATFORM(IOS) && HAVE(AVKIT) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
// When leaving the current page, close the video fullscreen.
if (m_videoFullscreenManager)
m_videoFullscreenManager->requestHideAndExitFullscreen();
Modified: trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm (199895 => 199896)
--- trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm 2016-04-22 19:42:24 UTC (rev 199895)
+++ trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm 2016-04-22 19:44:08 UTC (rev 199896)
@@ -26,7 +26,7 @@
#import "config.h"
#import "WebPageProxy.h"
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) && HAVE(AVKIT)
#import "APIUIClient.h"
#import "DataReference.h"