Fix macos build after r217143
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 May 2017 20:12:12 +0000 (20:12 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 May 2017 20:12:12 +0000 (20:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=172380

unreviewed.

Remove reference to WebVideoFullscreenInterface for mac build.

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-05-19

* html/HTMLMediaElement.cpp:
* platform/mac/WebVideoFullscreenInterfaceMac.h:

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

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp
Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.h

index 515f148..5b92a9c 100644 (file)
@@ -1,5 +1,17 @@
 2017-05-19  Jeremy Jones  <jeremyj@apple.com>
 
+        Fix macos build after r217143
+        https://bugs.webkit.org/show_bug.cgi?id=172380
+
+        unreviewed.
+
+        Remove reference to WebVideoFullscreenInterface for mac build.
+
+        * html/HTMLMediaElement.cpp:
+        * platform/mac/WebVideoFullscreenInterfaceMac.h:
+
+2017-05-19  Jeremy Jones  <jeremyj@apple.com>
+
         Remove defunct WebVideoFullscreenInterface
         https://bugs.webkit.org/show_bug.cgi?id=172254
 
index 9e6439e..fe8c0bc 100644 (file)
 #include "NotImplemented.h"
 #endif
 
+#if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
+#include "WebVideoFullscreenModel.h"
+#endif
+
 #define RELEASE_LOG_IF_ALLOWED(fmt, ...) RELEASE_LOG_IF(document().page() && document().page()->isAlwaysOnLoggingAllowed(), Media, "%p - HTMLMediaElement::" fmt, this, ##__VA_ARGS__)
 
 namespace WebCore {
index e5da3d4..a783ec9 100644 (file)
@@ -46,8 +46,7 @@ class WebPlaybackSessionInterfaceMac;
 class WebVideoFullscreenChangeObserver;
 
 class WEBCORE_EXPORT WebVideoFullscreenInterfaceMac
-    : public WebVideoFullscreenInterface
-    , public WebVideoFullscreenModelClient
+    : public WebVideoFullscreenModelClient
     , private WebPlaybackSessionModelClient
     , public RefCounted<WebVideoFullscreenInterfaceMac> {