diff options
Diffstat (limited to 'src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp')
-rw-r--r-- | src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp b/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp index 7939370ddc..ef97f3aac5 100644 --- a/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp +++ b/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp @@ -162,11 +162,10 @@ FullScreenVideoQt::~FullScreenVideoQt() void FullScreenVideoQt::enterFullScreenForNode(Node* node) { Q_ASSERT(node); - Q_ASSERT(m_FullScreenVideoHandler); - m_videoElement = static_cast<HTMLVideoElement*>(node); #if USE(QT_MULTIMEDIA) + Q_ASSERT(m_FullScreenVideoHandler); HTMLVideoElement* videoElement = static_cast<HTMLVideoElement*>(node); PlatformMedia platformMedia = videoElement->platformMedia(); @@ -236,6 +235,8 @@ bool FullScreenVideoQt::requiresFullScreenForVideoPlayback() #endif #if USE(GSTREAMER) return false; +#else + return false; #endif } @@ -246,6 +247,8 @@ bool FullScreenVideoQt::isValid() const #endif #if USE(GSTREAMER) return m_FullScreenVideoHandlerGStreamer; +#else + return 0; #endif } |