| Index: Source/core/workers/WorkerThread.h
|
| diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h
|
| index 233d352b2529c98db705441ccf0b93790fe6d281..fbb170a9a3a5b47d3c134bbbc9780f54da32d491 100644
|
| --- a/Source/core/workers/WorkerThread.h
|
| +++ b/Source/core/workers/WorkerThread.h
|
| @@ -64,8 +64,9 @@ public:
|
| virtual void start();
|
| virtual void stop();
|
|
|
| - void didStartRunLoop();
|
| - void didStopRunLoop();
|
| + virtual PassOwnPtr<WebThreadSupportingGC> createWebThreadSupportingGC();
|
| + virtual void didStartRunLoop();
|
| + virtual void didStopRunLoop();
|
|
|
| v8::Isolate* isolate() const { return m_isolate; }
|
|
|
| @@ -116,6 +117,11 @@ protected:
|
|
|
| virtual void postInitialize() { }
|
|
|
| + virtual v8::Isolate* initializeIsolate();
|
| + virtual void willDestroyIsolate();
|
| + virtual void destroyIsolate();
|
| + virtual void terminateV8Execution();
|
| +
|
| private:
|
| friend class WorkerSharedTimer;
|
| friend class WorkerThreadShutdownFinishTask;
|
| @@ -129,11 +135,6 @@ private:
|
| void postDelayedTask(PassOwnPtr<ExecutionContextTask>, long long delayMs);
|
| void postDelayedTask(const WebTraceLocation&, PassOwnPtr<ExecutionContextTask>, long long delayMs);
|
|
|
| - v8::Isolate* initializeIsolate();
|
| - void willDestroyIsolate();
|
| - void destroyIsolate();
|
| - void terminateV8Execution();
|
| -
|
| bool m_terminated;
|
| OwnPtr<WorkerSharedTimer> m_sharedTimer;
|
| MessageQueue<WorkerThreadTask> m_debuggerMessageQueue;
|
|
|