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 |