| Index: Source/core/workers/WorkerThread.h
|
| diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h
|
| index baef851279e620d4fc8b7779d93f9b4703bc4caa..ccc8b50198e04a725826fae62cb1640164c6e217 100644
|
| --- a/Source/core/workers/WorkerThread.h
|
| +++ b/Source/core/workers/WorkerThread.h
|
| @@ -46,7 +46,7 @@ namespace WebCore {
|
| class WorkerGlobalScope;
|
| class WorkerLoaderProxy;
|
| class WorkerReportingProxy;
|
| - struct WorkerThreadStartupData;
|
| + class WorkerThreadStartupData;
|
|
|
| enum WorkerThreadStartMode { DontPauseWorkerGlobalScopeOnStart, PauseWorkerGlobalScopeOnStart };
|
|
|
| @@ -74,10 +74,10 @@ namespace WebCore {
|
| void setNotificationClient(NotificationClient* client) { m_notificationClient = client; }
|
|
|
| protected:
|
| - WorkerThread(WorkerLoaderProxy&, WorkerReportingProxy&, PassOwnPtr<WorkerThreadStartupData>);
|
| + WorkerThread(WorkerLoaderProxy&, WorkerReportingProxy&, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>);
|
|
|
| // Factory method for creating a new worker context for the thread.
|
| - virtual PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) = 0;
|
| + virtual PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>) = 0;
|
|
|
| // Executes the event loop for the worker thread. Derived classes can override to perform actions before/after entering the event loop.
|
| virtual void runEventLoop();
|
| @@ -98,7 +98,7 @@ namespace WebCore {
|
| RefPtrWillBePersistent<WorkerGlobalScope> m_workerGlobalScope;
|
| Mutex m_threadCreationMutex;
|
|
|
| - OwnPtr<WorkerThreadStartupData> m_startupData;
|
| + OwnPtrWillBePersistent<WorkerThreadStartupData> m_startupData;
|
|
|
| NotificationClient* m_notificationClient;
|
|
|
|
|