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

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

Issue 2783593002: Redraw media volume slider when it is moving (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
index 6fcf2642e672bbb9fa145f243b43bcf7045fa993..bd8c71f13922c3a8dcf82ecc1485e1c19f12eb6b 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
@@ -806,6 +806,8 @@ void MediaControls::onVolumeChange() {
m_volumeSlider->setIsWanted(mediaElement().hasAudio() &&
!preferHiddenVolumeControls(document()));
m_muteButton->setIsWanted(mediaElement().hasAudio());
+ invalidate(m_muteButton);
CJ 2017/03/28 14:58:38 Is this necessary?
+ invalidate(m_volumeSlider);
}
void MediaControls::onFocusIn() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698