Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index a1609d46b610e60b2bf1d9cd7b97fd6f44b4a335..4571cdc9efeb489b10f569eb067fe1816bcdcd1b 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -333,8 +333,8 @@ void MediaControls::updateCurrentTimeDisplay() |
void MediaControls::updateVolume() |
{ |
m_muteButton->updateDisplayType(); |
- if (m_muteButton->renderer()) |
- m_muteButton->renderer()->setShouldDoFullPaintInvalidation(); |
+ if (m_muteButton->layoutObject()) |
+ m_muteButton->layoutObject()->setShouldDoFullPaintInvalidation(); |
if (mediaElement().muted()) |
m_volumeSlider->setVolume(0); |