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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 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
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);

Powered by Google App Engine
This is Rietveld 408576698