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

Unified Diff: Source/core/workers/DedicatedWorkerThread.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/DedicatedWorkerThread.h
diff --git a/Source/core/workers/DedicatedWorkerThread.h b/Source/core/workers/DedicatedWorkerThread.h
index 3ae18715e655f328363f9eae5b160031b484e9c5..038a28d802a9a90d31ff2936ba149df6fcad1deb 100644
--- a/Source/core/workers/DedicatedWorkerThread.h
+++ b/Source/core/workers/DedicatedWorkerThread.h
@@ -32,24 +32,25 @@
#include "core/frame/ContentSecurityPolicy.h"
#include "core/workers/WorkerThread.h"
+#include "heap/Handle.h"
namespace WebCore {
class WorkerObjectProxy;
-struct WorkerThreadStartupData;
+class WorkerThreadStartupData;
class DedicatedWorkerThread FINAL : public WorkerThread {
Mads Ager (chromium) 2014/02/24 13:27:53 Please implement the virtual trace method for this
public:
- static PassRefPtr<DedicatedWorkerThread> create(WorkerLoaderProxy&, WorkerObjectProxy&, double timeOrigin, PassOwnPtr<WorkerThreadStartupData>);
+ static PassRefPtrWillBeRawPtr<DedicatedWorkerThread> create(WorkerLoaderProxy&, WorkerObjectProxy&, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>);
WorkerObjectProxy& workerObjectProxy() const { return m_workerObjectProxy; }
virtual ~DedicatedWorkerThread();
protected:
- virtual PassRefPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>) OVERRIDE;
virtual void runEventLoop() OVERRIDE;
private:
- DedicatedWorkerThread(WorkerLoaderProxy&, WorkerObjectProxy&, double timeOrigin, PassOwnPtr<WorkerThreadStartupData>);
+ DedicatedWorkerThread(WorkerLoaderProxy&, WorkerObjectProxy&, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>);
WorkerObjectProxy& m_workerObjectProxy;
double m_timeOrigin;

Powered by Google App Engine
This is Rietveld 408576698