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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp

Issue 2539443004: Worker: Move ParentFrameTaskRunners from WorkerReportingProxy to ObjectProxy (Closed)
Patch Set: rebase Created 3 years, 11 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/AnimationWorkletThread.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
index 45bf88f6f3e9422f08a84ab7e77337eeadc0607a..01f5055d1b8c1537b4cb5150baf8b1ceb14e31cf 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp
@@ -14,19 +14,23 @@ namespace blink {
std::unique_ptr<AnimationWorkletThread> AnimationWorkletThread::create(
PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
- WorkerReportingProxy& workerReportingProxy) {
+ WorkerReportingProxy& workerReportingProxy,
+ ParentFrameTaskRunners* parentFrameTaskRunners) {
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("animation-worklet"),
"AnimationWorkletThread::create");
DCHECK(isMainThread());
- return WTF::wrapUnique(new AnimationWorkletThread(
- std::move(workerLoaderProxy), workerReportingProxy));
+ return WTF::wrapUnique(
+ new AnimationWorkletThread(std::move(workerLoaderProxy),
+ workerReportingProxy, parentFrameTaskRunners));
}
AnimationWorkletThread::AnimationWorkletThread(
PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
- WorkerReportingProxy& workerReportingProxy)
+ WorkerReportingProxy& workerReportingProxy,
+ ParentFrameTaskRunners* parentFrameTaskRunners)
: AbstractAnimationWorkletThread(std::move(workerLoaderProxy),
- workerReportingProxy) {}
+ workerReportingProxy,
+ parentFrameTaskRunners) {}
AnimationWorkletThread::~AnimationWorkletThread() {}

Powered by Google App Engine
This is Rietveld 408576698