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 fe0ffe8398ab19401db294e1e38b71c9d7f72fc4..de0b407d96f33fa9236fa19db3274c2b6171ab54 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h |
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h |
@@ -20,6 +20,12 @@ public: |
WorkerObjectProxy& workerObjectProxy() const { return m_workerObjectProxy; } |
+ // Returns the shared backing thread for all CompositorWorkers. |
+ static WebThreadSupportingGC* sharedBackingThread(); |
+ |
+ static bool hasThreadForTest(); |
+ static bool hasIsolateForTest(); |
+ |
protected: |
CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, double timeOrigin); |