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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h

Issue 1733353004: Introduce WorkerBackingThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
index 816f2b5c637027641b684f6e2ea3482d492c3aa6..5a24b6ee86e7de704ae28ec518465fb80fa97c8f 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
@@ -20,26 +20,13 @@ public:
WorkerObjectProxy& workerObjectProxy() const { return m_workerObjectProxy; }
- // Returns the shared backing thread for all CompositorWorkers.
- static WebThreadSupportingGC* sharedBackingThread();
-
- static bool hasThreadForTest();
- static bool hasIsolateForTest();
+ static void resetSharedBackingThreadForTest();
protected:
CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, double timeOrigin);
// WorkerThread:
PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override;
- WebThreadSupportingGC& backingThread() override;
- void didStartWorkerThread() override { }
- void willStopWorkerThread() override { }
- void initializeBackingThread() override;
- void shutdownBackingThread() override;
- v8::Isolate* initializeIsolate() override;
- void willDestroyIsolate() override;
- void destroyIsolate() override;
- void terminateV8Execution() override;
private:
WorkerObjectProxy& m_workerObjectProxy;

Powered by Google App Engine
This is Rietveld 408576698