Index: Source/core/workers/WorkerThread.h |
diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h |
index 29e3c181cd5ce87141ef7066646d83bf9ec32e1e..baef851279e620d4fc8b7779d93f9b4703bc4caa 100644 |
--- a/Source/core/workers/WorkerThread.h |
+++ b/Source/core/workers/WorkerThread.h |
@@ -77,7 +77,7 @@ namespace WebCore { |
WorkerThread(WorkerLoaderProxy&, WorkerReportingProxy&, PassOwnPtr<WorkerThreadStartupData>); |
// Factory method for creating a new worker context for the thread. |
- virtual PassRefPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) = 0; |
+ virtual PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<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(); |
@@ -95,7 +95,7 @@ namespace WebCore { |
WorkerLoaderProxy& m_workerLoaderProxy; |
WorkerReportingProxy& m_workerReportingProxy; |
- RefPtr<WorkerGlobalScope> m_workerGlobalScope; |
+ RefPtrWillBePersistent<WorkerGlobalScope> m_workerGlobalScope; |
Mutex m_threadCreationMutex; |
OwnPtr<WorkerThreadStartupData> m_startupData; |