| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index f0b87749979238b2104643cf58d6ff82cfaca0f5..361a29b1ad3f4f5483fb75eaeb8ecbe0f5d560d2 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3647,8 +3647,7 @@ TextTrackContainer& HTMLMediaElement::ensureTextTrackContainer() {
|
| if (firstChild && firstChild->isTextTrackContainer())
|
| return toTextTrackContainer(*firstChild);
|
|
|
| - TextTrackContainer* textTrackContainer =
|
| - TextTrackContainer::create(document());
|
| + TextTrackContainer* textTrackContainer = TextTrackContainer::create(*this);
|
|
|
| // The text track container should be inserted before the media controls,
|
| // so that they are rendered behind them.
|
|
|