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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h

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/WorkerThreadTestHelper.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
index 765aa09b6221dbac68fc8867c61c8b84d0189c34..3ad51dcf609ac7decce9d4ba8887fd7ff9e89342 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
@@ -8,9 +8,9 @@
#include "bindings/core/v8/V8CacheOptions.h"
#include "bindings/core/v8/V8GCController.h"
#include "core/dom/ExecutionContextTask.h"
+#include "core/dom/TaskRunnerHelper.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
#include "core/inspector/ConsoleMessage.h"
-#include "core/workers/ParentFrameTaskRunners.h"
#include "core/workers/WorkerBackingThread.h"
#include "core/workers/WorkerClients.h"
#include "core/workers/WorkerGlobalScope.h"
@@ -138,7 +138,7 @@ class WorkerThreadForTest : public WorkerThread {
void startWithSourceCode(SecurityOrigin* securityOrigin,
const String& source,
- ParentFrameTaskRunners* parentFrameTaskRunners) {
+ FrameTaskRunnersHolder* frameTaskRunners) {
std::unique_ptr<Vector<CSPHeaderAndType>> headers =
WTF::makeUnique<Vector<CSPHeaderAndType>>();
CSPHeaderAndType headerAndType("contentSecurityPolicy",
@@ -152,7 +152,7 @@ class WorkerThreadForTest : public WorkerThread {
source, nullptr, DontPauseWorkerGlobalScopeOnStart, headers.get(),
"", securityOrigin, clients, WebAddressSpaceLocal, nullptr,
nullptr, WorkerV8Settings::Default()),
- parentFrameTaskRunners);
+ frameTaskRunners);
}
void waitForInit() {

Powered by Google App Engine
This is Rietveld 408576698