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 |