Chromium Code Reviews| Index: Source/core/html/shadow/MediaControls.cpp |
| diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
| index 43d22a4cf8f2bc617013e90ffb0185038d8b74aa..888d76060961af0ccde7976e9b4514ed72563ebf 100644 |
| --- a/Source/core/html/shadow/MediaControls.cpp |
| +++ b/Source/core/html/shadow/MediaControls.cpp |
| @@ -184,7 +184,8 @@ void MediaControls::reset() |
| refreshClosedCaptionsButtonVisibility(); |
| - if (mediaElement().hasVideo() && fullscreenIsSupported(document())) |
| + if ((mediaElement().hasVideo() && fullscreenIsSupported(document())) |
| + || mediaElement().isFullscreen()) |
|
xhwang
2015/06/23 20:22:01
Maybe add some comment here. Otherwise it makes pe
eae
2015/06/23 20:30:45
Seconded.
liberato (no reviews please)
2015/06/23 20:37:41
third-ed. i had additional logic that i removed,
|
| m_fullScreenButton->show(); |
| else |
| m_fullScreenButton->hide(); |