| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index d54063bc82c74555f0549169bf7833739a6ab926..cf4409760011cde47cff2e41d38956c1a2eee0f1 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()->refreshCastButtonVisibilityWithoutLayout();
|
|
|
| if (m_textTracks)
|
| configureTextTrackDisplay(AssumeNoVisibleChange);
|
|
|