| Index: Source/core/workers/WorkerMessagingProxy.h
|
| diff --git a/Source/core/workers/WorkerMessagingProxy.h b/Source/core/workers/WorkerMessagingProxy.h
|
| index 4fcdd73c7643026f77e3c00fc2cd444cbaa0af3d..6640c0826c0bcc595482754018372cedb0e7a14a 100644
|
| --- a/Source/core/workers/WorkerMessagingProxy.h
|
| +++ b/Source/core/workers/WorkerMessagingProxy.h
|
| @@ -30,6 +30,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/workers/WorkerGlobalScopeProxy.h"
|
| #include "core/workers/WorkerLoaderProxy.h"
|
| +#include "heap/Handle.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/PassOwnPtr.h"
|
| @@ -78,7 +79,7 @@ namespace WebCore {
|
| virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) OVERRIDE;
|
| virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) OVERRIDE;
|
|
|
| - void workerThreadCreated(PassRefPtr<DedicatedWorkerThread>);
|
| + void workerThreadCreated(PassRefPtrWillBeRawPtr<DedicatedWorkerThread>);
|
|
|
| protected:
|
| virtual ~WorkerMessagingProxy();
|
| @@ -90,7 +91,7 @@ namespace WebCore {
|
| OwnPtr<WorkerObjectProxy> m_workerObjectProxy;
|
| Worker* m_workerObject;
|
| bool m_mayBeDestroyed;
|
| - RefPtr<DedicatedWorkerThread> m_workerThread;
|
| + RefPtrWillBePersistent<DedicatedWorkerThread> m_workerThread;
|
|
|
| unsigned m_unconfirmedMessageCount; // Unconfirmed messages from worker object to worker thread.
|
| bool m_workerThreadHadPendingActivity; // The latest confirmation from worker thread reported that it was still active.
|
|
|