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

Unified Diff: Source/core/workers/WorkerMessagingProxy.h

Issue 177073004: Oilpan: move core/workers to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: 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.

Powered by Google App Engine
This is Rietveld 408576698