Chromium Code Reviews| Index: Source/core/workers/DedicatedWorkerThread.h |
| diff --git a/Source/core/workers/DedicatedWorkerThread.h b/Source/core/workers/DedicatedWorkerThread.h |
| index 03bd2127bc446f1456a623f412918ac090e9d8b5..68446c58de20279e657da09c34d16d10331237b7 100644 |
| --- a/Source/core/workers/DedicatedWorkerThread.h |
| +++ b/Source/core/workers/DedicatedWorkerThread.h |
| @@ -31,26 +31,26 @@ |
| #define DedicatedWorkerThread_h |
| #include "core/frame/csp/ContentSecurityPolicy.h" |
| -#include "core/workers/WorkerThread.h" |
| +#include "core/workers/WorkerScript.h" |
| namespace blink { |
| class WorkerObjectProxy; |
| -class WorkerThreadStartupData; |
| +class WorkerScriptStartupData; |
| -class DedicatedWorkerThread final : public WorkerThread { |
| +class DedicatedWorkerThread final : public WorkerScript { |
|
kinuko
2015/05/08 01:33:22
nit: can we have TODO for renaming this (to unconf
sadrul
2015/05/08 02:08:00
Done.
|
| public: |
| - static PassRefPtr<DedicatedWorkerThread> create(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, double timeOrigin, PassOwnPtr<WorkerThreadStartupData>); |
| + static PassRefPtr<DedicatedWorkerThread> create(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, double timeOrigin, PassOwnPtr<WorkerScriptStartupData>); |
| WorkerObjectProxy& workerObjectProxy() const { return m_workerObjectProxy; } |
| virtual ~DedicatedWorkerThread(); |
| protected: |
| - PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override; |
| + PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerScriptStartupData>) override; |
| void postInitialize() override; |
| WebThreadSupportingGC& backingThread() override; |
| private: |
| - DedicatedWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, double timeOrigin, PassOwnPtr<WorkerThreadStartupData>); |
| + DedicatedWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, double timeOrigin, PassOwnPtr<WorkerScriptStartupData>); |
| WorkerObjectProxy& m_workerObjectProxy; |
| double m_timeOrigin; |