Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: Source/WebCore/html/shadow/MediaControlRootElementChromium.cpp

Issue 10800085: Merge 123272 - [chromium] Don't display fullscreen button for video elements not containing video (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698