| Index: third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp b/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
|
| index ad63ae1609959f2f60073a77d3424e3ac1b86265..ca2d9c6c793d9765d3e740e5ba8121e69cd24ae2 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
|
| @@ -27,6 +27,7 @@
|
|
|
| #include "core/HTMLNames.h"
|
| #include "core/dom/Document.h"
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "core/events/Event.h"
|
| #include "core/frame/csp/ContentSecurityPolicy.h"
|
| #include "core/html/CrossOriginAttribute.h"
|
| @@ -49,7 +50,9 @@ static String urlForLoggingTrack(const KURL& url) {
|
|
|
| inline HTMLTrackElement::HTMLTrackElement(Document& document)
|
| : HTMLElement(trackTag, document),
|
| - m_loadTimer(this, &HTMLTrackElement::loadTimerFired) {
|
| + m_loadTimer(TaskRunnerHelper::get(TaskType::Networking, &document),
|
| + this,
|
| + &HTMLTrackElement::loadTimerFired) {
|
| DVLOG(TRACK_LOG_LEVEL) << "HTMLTrackElement - " << (void*)this;
|
| }
|
|
|
|
|