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

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

Issue 1158443008: compositor-worker: Share a thread and an isolate for compositor workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 7 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 2405c86493da3a2d74d818d58207bc8e2333576c..16d35bade80e0227a30e0368ed36430118f32692 100644
--- a/Source/core/workers/WorkerThread.h
+++ b/Source/core/workers/WorkerThread.h
@@ -122,6 +122,10 @@ protected:
virtual void postInitialize() { }
+ // Both of these methods are called in the worker thread.
+ virtual void initializeBackingThread();
+ virtual void shutdownBackingThread();
+
virtual v8::Isolate* initializeIsolate();
virtual void willDestroyIsolate();
virtual void destroyIsolate();

Powered by Google App Engine
This is Rietveld 408576698