Index: Source/WebCore/html/shadow/MediaControlRootElementChromium.cpp |
=================================================================== |
--- Source/WebCore/html/shadow/MediaControlRootElementChromium.cpp (revision 123380) |
+++ Source/WebCore/html/shadow/MediaControlRootElementChromium.cpp (working copy) |
@@ -252,7 +252,7 @@ |
} |
#if ENABLE(FULLSCREEN_MEDIA_CONTROLS) |
- if (m_mediaController->supportsFullscreen()) |
+ if (m_mediaController->supportsFullscreen() && m_mediaController->hasVideo()) |
m_fullscreenButton->show(); |
else |
m_fullscreenButton->hide(); |