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

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

Issue 1274023003: compositor-worker: Get the thread to run compositor-workers from the Platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 4 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
« no previous file with comments | « Source/core/workers/SharedWorkerThread.cpp ('k') | Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerThread.h
diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h
index a4c57754c1ee1b7f7a9f82ae2900ec319c0d9df3..973397543c7c4d83cde7b44bf71dbec797d5aec6 100644
--- a/Source/core/workers/WorkerThread.h
+++ b/Source/core/workers/WorkerThread.h
@@ -68,7 +68,7 @@ public:
// a new thread on the first call (e.g. shared, dedicated workers), whereas
// some implementations can use an existing thread that is already being
// used by other workers (e.g. compositor workers).
- virtual WebThreadSupportingGC& backingThread() = 0;
+ virtual WebThread& backingThread() = 0;
virtual void didStartRunLoop();
virtual void didStopRunLoop();
@@ -150,7 +150,6 @@ private:
void shutdown();
void performShutdownTask();
void performIdleWork(double deadlineSeconds);
- void postDelayedTask(const WebTraceLocation&, PassOwnPtr<ExecutionContextTask>, long long delayMs);
bool m_started;
bool m_terminated;
@@ -170,6 +169,7 @@ private:
RefPtrWillBePersistent<WorkerGlobalScope> m_workerGlobalScope;
+ OwnPtr<GCSupportForWebThread> m_gcSupport;
v8::Isolate* m_isolate;
// Used to signal thread shutdown.
« no previous file with comments | « Source/core/workers/SharedWorkerThread.cpp ('k') | Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698