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

Unified Diff: Source/core/html/shadow/MediaControlElements.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/MediaControlElements.cpp
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp
index 24f92a5d8691b7931c0135ef3c2b6edc6455cc4e..992bede37f6b37f5cfcff156fa79b8238b43a79c 100644
--- a/Source/core/html/shadow/MediaControlElements.cpp
+++ b/Source/core/html/shadow/MediaControlElements.cpp
@@ -396,7 +396,7 @@ void MediaControlTimelineElement::defaultEventHandler(Event* event)
}
}
- LayoutSlider* slider = toLayoutSlider(renderer());
+ LayoutSlider* slider = toLayoutSlider(layoutObject());
if (slider && slider->inDragMode())
mediaControls().updateCurrentTimeDisplay();
}
@@ -698,9 +698,9 @@ void MediaControlTextTrackContainerElement::updateSizes()
IntRect videoBox;
- if (!mediaElement().renderer() || !mediaElement().renderer()->isVideo())
+ if (!mediaElement().layoutObject() || !mediaElement().layoutObject()->isVideo())
return;
- videoBox = toLayoutVideo(mediaElement().renderer())->videoBox();
+ videoBox = toLayoutVideo(mediaElement().layoutObject())->videoBox();
if (m_videoDisplaySize == videoBox)
return;

Powered by Google App Engine
This is Rietveld 408576698