| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index 63eda2639e62a01ca9a5fd97b8bdfc5a2bd153f8..7c2ea9312bbc6d2945f6e426197add329bdc22f5 100644
|
| --- a/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3101,7 +3101,7 @@ void HTMLMediaElement::clearMediaPlayer(int flags)
|
| m_remoteRoutesAvailable = false;
|
| m_playingRemotely = false;
|
| if (mediaControls())
|
| - mediaControls()->refreshCastButtonVisibility();
|
| + mediaControls()->refreshCastButtonVisibilityWithoutUpdate();
|
|
|
| if (layoutObject())
|
| layoutObject()->setShouldDoFullPaintInvalidation();
|
| @@ -3619,6 +3619,12 @@ bool HTMLMediaElement::isBlockedOnMediaController() const
|
| return false;
|
| }
|
|
|
| +void HTMLMediaElement::setAllowHiddenVolumeControls(bool allow)
|
| +{
|
| + ensureMediaControls();
|
| + mediaControls()->setAllowHiddenVolumeControls(allow);
|
| +}
|
| +
|
| WebMediaPlayer::CORSMode HTMLMediaElement::corsMode() const
|
| {
|
| const AtomicString& crossOriginMode = fastGetAttribute(crossoriginAttr);
|
|
|