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

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

Issue 1955693003: compositor-worker: Keep worker backing thread alive for the lifetime of the compositor thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded scheduler changes. Created 4 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: 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 224b1e88c505f9e9abfe23681aac291e123899e6..2eef10946894ca26f80543bf5fb44185be24d7a5 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
@@ -22,7 +22,9 @@ public:
WorkerBackingThread& workerBackingThread() override;
bool shouldAttachThreadDebugger() const override { return false; }
+ static void ensureSharedBackingThread();
static void resetSharedBackingThreadForTest();
yhirano 2016/05/19 05:35:37 I think this function can be misleading now and sh
flackr 2016/05/19 22:24:16 This recreates the worker backing thread with the
+ static void clearSharedBackingThread();
protected:
CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, InProcessWorkerObjectProxy&, double timeOrigin);

Powered by Google App Engine
This is Rietveld 408576698