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

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

Issue 1018863002: compositor-worker: Introduce CompositorWorker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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/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;

Powered by Google App Engine
This is Rietveld 408576698