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

Unified Diff: Source/core/html/shadow/MediaControls.cpp

Issue 16132004: Have to invalidate the mute button when changing the volume (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test failure. that was a silly mistake. Created 7 years, 7 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
« no previous file with comments | « LayoutTests/fast/repaint/video-unmute-repaint-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControls.cpp
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp
index c418b69c92b15822f0c7a8ddedf6038009ddd137..37a04180d90d73a4db45cd15bdb25600bc4c8092 100644
--- a/Source/core/html/shadow/MediaControls.cpp
+++ b/Source/core/html/shadow/MediaControls.cpp
@@ -225,6 +225,8 @@ void MediaControls::changedVolume()
{
if (m_volumeSlider)
m_volumeSlider->setVolume(m_mediaController->volume());
+ if (m_panelMuteButton && m_panelMuteButton->renderer())
+ m_panelMuteButton->renderer()->repaint();
}
void MediaControls::changedClosedCaptionsVisibility()
« no previous file with comments | « LayoutTests/fast/repaint/video-unmute-repaint-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698