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

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

Issue 2718643002: Worker: Pass ParentFrameTaskRunners via WorkerThread::start() instead of the ctor (Closed)
Patch Set: 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/WorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
index cb6ece4c641d417f27ff2da8c01c2e4fbcfd04da..d345b44e1afea53b3a55f7ef8d9f4a3799d14de4 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -106,7 +106,7 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
virtual ~WorkerThread();
// Called on the main thread.
- void start(std::unique_ptr<WorkerThreadStartupData>);
+ void start(std::unique_ptr<WorkerThreadStartupData>, ParentFrameTaskRunners*);
void terminate();
// Called on the main thread. Internally calls terminateInternal() and wait
@@ -175,9 +175,7 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
}
protected:
- WorkerThread(PassRefPtr<WorkerLoaderProxy>,
- WorkerReportingProxy&,
- ParentFrameTaskRunners*);
+ WorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
// Factory method for creating a new worker context for the thread.
// Called on the worker thread.

Powered by Google App Engine
This is Rietveld 408576698