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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorklet.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/csspaint/PaintWorklet.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp
index 71c5f98b9a1b91107b3d5c6c05f09bcbb6f21a97..56cb7106e2bf0529d3f1d8d4b5564e199da0d5f0 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.cpp
@@ -17,7 +17,7 @@ PaintWorklet* PaintWorklet::Create(LocalFrame* frame) {
}
PaintWorklet::PaintWorklet(LocalFrame* frame)
- : Worklet(frame),
+ : MainThreadWorklet(frame),
paint_worklet_global_scope_(PaintWorkletGlobalScope::Create(
frame,
frame->GetDocument()->Url(),
@@ -42,7 +42,7 @@ void PaintWorklet::AddPendingGenerator(const String& name,
DEFINE_TRACE(PaintWorklet) {
visitor->Trace(paint_worklet_global_scope_);
- Worklet::Trace(visitor);
+ MainThreadWorklet::Trace(visitor);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/csspaint/PaintWorklet.h ('k') | third_party/WebKit/Source/modules/webaudio/AudioWorklet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698