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

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

Issue 217103004: Ignore MediaController in the muted/volume controls logic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: repaint in updateVolume Created 6 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 | « Source/core/html/HTMLMediaElement.h ('k') | Source/core/html/MediaController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index ac494fce3d1992cf69dfa837c068cdd150e03ad4..e1d893b8f8c686596a7d8302bfef9a3c404c3509 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -2117,9 +2117,6 @@ void HTMLMediaElement::setMuted(bool muted)
updateVolume();
- if (hasMediaControls())
- mediaControls()->changedMute();
-
scheduleEvent(EventTypeNames::volumechange);
}
@@ -2972,7 +2969,7 @@ void HTMLMediaElement::updateVolume()
webMediaPlayer()->setVolume(playerVolume());
if (hasMediaControls())
- mediaControls()->changedVolume();
+ mediaControls()->updateVolume();
}
double HTMLMediaElement::playerVolume() const
« no previous file with comments | « Source/core/html/HTMLMediaElement.h ('k') | Source/core/html/MediaController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698