Title: [151476] trunk/Source/WebCore
Revision
151476
Author
rn...@webkit.org
Date
2013-06-11 14:59:12 -0700 (Tue, 11 Jun 2013)

Log Message

Have to invalidate the mute button when changing the volume
https://bugs.webkit.org/show_bug.cgi?id=117464

Reviewed by Darin Adler.

Merge https://chromium.googlesource.com/chromium/blink/+/c4c685c82908449526fd8c251cc551e729ebed08
but without a test since the test doesn't work in WebKit.

* html/shadow/MediaControls.cpp:
(WebCore::MediaControls::changedVolume):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151475 => 151476)


--- trunk/Source/WebCore/ChangeLog	2013-06-11 21:55:06 UTC (rev 151475)
+++ trunk/Source/WebCore/ChangeLog	2013-06-11 21:59:12 UTC (rev 151476)
@@ -1,3 +1,16 @@
+2013-06-11  Ryosuke Niwa  <rn...@webkit.org>
+
+        Have to invalidate the mute button when changing the volume
+        https://bugs.webkit.org/show_bug.cgi?id=117464
+
+        Reviewed by Darin Adler.
+
+        Merge https://chromium.googlesource.com/chromium/blink/+/c4c685c82908449526fd8c251cc551e729ebed08
+        but without a test since the test doesn't work in WebKit.
+
+        * html/shadow/MediaControls.cpp:
+        (WebCore::MediaControls::changedVolume):
+
 2013-06-11  Max Vujovic  <mvujo...@adobe.com>
 
         [CSS Regions] Regions don't create a stacking context for their contents

Modified: trunk/Source/WebCore/html/shadow/MediaControls.cpp (151475 => 151476)


--- trunk/Source/WebCore/html/shadow/MediaControls.cpp	2013-06-11 21:55:06 UTC (rev 151475)
+++ trunk/Source/WebCore/html/shadow/MediaControls.cpp	2013-06-11 21:59:12 UTC (rev 151476)
@@ -241,6 +241,8 @@
 {
     if (m_volumeSlider)
         m_volumeSlider->setVolume(m_mediaController->volume());
+    if (m_panelMuteButton && m_panelMuteButton->renderer())
+        m_panelMuteButton->renderer()->repaint();
 }
 
 void MediaControls::changedClosedCaptionsVisibility()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to