Index: third_party/WebKit/Source/core/loader/TextTrackLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/TextTrackLoader.cpp b/third_party/WebKit/Source/core/loader/TextTrackLoader.cpp |
index 05bb3c939a9ae0c9b32cd62d8510d7ac323bce4f..4cb33998cb1406c101783a23ddd71c29ea492533 100644 |
--- a/third_party/WebKit/Source/core/loader/TextTrackLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/TextTrackLoader.cpp |
@@ -26,6 +26,7 @@ |
#include "core/loader/TextTrackLoader.h" |
#include "core/dom/Document.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/fetch/FetchInitiatorTypeNames.h" |
#include "core/fetch/FetchRequest.h" |
#include "core/fetch/RawResource.h" |
@@ -40,7 +41,9 @@ TextTrackLoader::TextTrackLoader(TextTrackLoaderClient& client, |
Document& document) |
: m_client(client), |
m_document(document), |
- m_cueLoadTimer(this, &TextTrackLoader::cueLoadTimerFired), |
+ m_cueLoadTimer(TaskRunnerHelper::get(TaskType::Networking, &document), |
+ this, |
+ &TextTrackLoader::cueLoadTimerFired), |
m_state(Idle), |
m_newCuesAvailable(false) {} |