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; |