| Index: Source/core/html/shadow/MediaControlElements.cpp
|
| diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp
|
| index 8e22f60feb158d28d36a34f130d0aeafcb3879f7..3940978cb6e5c01c26596547c9fe5adc04ce77da 100644
|
| --- a/Source/core/html/shadow/MediaControlElements.cpp
|
| +++ b/Source/core/html/shadow/MediaControlElements.cpp
|
| @@ -695,7 +695,7 @@ void MediaControlTextTrackContainerElement::updateDisplay()
|
| return;
|
|
|
| // 2. Let video be the media element or other playback mechanism.
|
| - HTMLVideoElement* video = static_cast<HTMLVideoElement*>(mediaElement);
|
| + HTMLVideoElement* video = toHTMLVideoElement(mediaElement);
|
|
|
| // 3. Let output be an empty list of absolutely positioned CSS block boxes.
|
| Vector<RefPtr<HTMLDivElement> > output;
|
|
|