Index: Source/WebCore/html/HTMLMediaElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLMediaElement.cpp (revision 86180) |
+++ Source/WebCore/html/HTMLMediaElement.cpp (working copy) |
@@ -1615,7 +1615,7 @@ |
scheduleTimeupdateEvent(true); |
if (hasMediaControls()) { |
- if (!m_mouseOver && controls()) |
+ if (!m_mouseOver && controls() && hasVideo()) |
mediaControls()->makeTransparent(); |
mediaControls()->playbackProgressed(); |
} |