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

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

Issue 2819153003: Worklet: Separate Worklet into MainThreadWorklet and ThreadedWorklet (Closed)
Patch Set: update comments Created 3 years, 8 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/AnimationWorklet.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp
index dded2c34a6362a714397e9f5b2cfe58448e67a90..6f8576509f0c22a174795fe73aa28411ccd47c2c 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp
@@ -20,7 +20,7 @@ AnimationWorklet* AnimationWorklet::Create(LocalFrame* frame) {
}
AnimationWorklet::AnimationWorklet(LocalFrame* frame)
- : Worklet(frame), worklet_messaging_proxy_(nullptr) {}
+ : ThreadedWorklet(frame), worklet_messaging_proxy_(nullptr) {}
AnimationWorklet::~AnimationWorklet() {
if (worklet_messaging_proxy_)
@@ -52,7 +52,7 @@ WorkletGlobalScopeProxy* AnimationWorklet::GetWorkletGlobalScopeProxy() const {
}
DEFINE_TRACE(AnimationWorklet) {
- Worklet::Trace(visitor);
+ ThreadedWorklet::Trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698