| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index d54063bc82c74555f0549169bf7833739a6ab926..85852bcf0e3ea2a97309f09aeb2ab8f26e2514b8 100644
|
| --- a/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3051,7 +3051,7 @@ void HTMLMediaElement::clearMediaPlayer(int flags)
|
| m_remoteRoutesAvailable = false;
|
| m_playingRemotely = false;
|
| if (mediaControls())
|
| - mediaControls()->refreshCastButtonVisibility();
|
| + mediaControls()->hideCastButtons();
|
|
|
| if (m_textTracks)
|
| configureTextTrackDisplay(AssumeNoVisibleChange);
|
|
|