| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index 113e1f090f708afd3780da70318424087f9c44f1..7e9ce17fa0b4724b95750532c5ef274417ed7f87 100644
|
| --- a/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3103,7 +3103,7 @@ void HTMLMediaElement::clearMediaPlayer(int flags)
|
| m_remoteRoutesAvailable = false;
|
| m_playingRemotely = false;
|
| if (mediaControls())
|
| - mediaControls()->refreshCastButtonVisibility();
|
| + mediaControls()->refreshCastButtonVisibilityWithoutUpdate();
|
|
|
| if (layoutObject())
|
| layoutObject()->setShouldDoFullPaintInvalidation();
|
| @@ -3621,6 +3621,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);
|
|
|