Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(943)

Unified Diff: Source/core/html/HTMLMediaElement.cpp

Issue 1156993013: New media playback UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: cleaned up volume / mute hiding logic. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index d54063bc82c74555f0549169bf7833739a6ab926..cbf1926b11bb06232365555ceeb46826d2f4b754 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()->refreshCastButtonVisibilityWithoutUpdate();
if (m_textTracks)
configureTextTrackDisplay(AssumeNoVisibleChange);

Powered by Google App Engine
This is Rietveld 408576698