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

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

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add big fat TODOs in scheduler code to implement proper idle task scheduling and ensure GC is runni… 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();
+ static void clearSharedBackingThread();
haraken 2016/05/06 02:45:51 +yhirano since he removed this method last week.
yhirano 2016/05/06 05:47:43 Please add "ForTest" as this function is used only
flackr 2016/05/06 18:15:07 Ah, I didn't notice that you had removed the call
yhirano 2016/05/09 03:15:31 See https://codereview.chromium.org/1733353004/#ms
protected:
CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, InProcessWorkerObjectProxy&, double timeOrigin);

Powered by Google App Engine
This is Rietveld 408576698