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

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: Created 5 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/shadow/MediaControlElementTypes.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControlElements.cpp
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp
index 77119eae14fad7cc9aaa2bce2be56ec3d40adbc6..0df9105e67e42169e8bac21e6c60e19ad58172f7 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;
« no previous file with comments | « Source/core/html/shadow/MediaControlElementTypes.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698