Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp

Issue 2716853002: (WIP) Worker: Merge ParentFrameTaskRunners into TaskRunnerHelper
Patch Set: WIP Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
index 3ed77a5ea74f09d2ff9f5356cff8334711fd9c57..8582e59307e17180f3eeb4cb6ef47f1eed431fb5 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
@@ -350,8 +350,7 @@ void WorkerGlobalScope::exceptionThrown(ErrorEvent* event) {
}
void WorkerGlobalScope::removeURLFromMemoryCache(const KURL& url) {
- m_thread->getParentFrameTaskRunners()
- ->get(TaskType::Networking)
+ FrameTaskRunnerHelper::get(TaskType::Networking, this)
->postTask(BLINK_FROM_HERE,
crossThreadBind(&removeURLFromMemoryCacheInternal, url));
}
« no previous file with comments | « third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698