| 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 063effb5dad35d3b578ef2883dd758ea695b522d..bef58fcd3961ed1343b2c1688bb99a3ec19f3298 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)
|
| - : MainThreadWorklet(frame),
|
| + : Worklet(frame),
|
| pending_generator_registry_(new PaintWorkletPendingGeneratorRegistry) {}
|
|
|
| PaintWorklet::~PaintWorklet() = default;
|
| @@ -38,7 +38,7 @@ void PaintWorklet::AddPendingGenerator(const String& name,
|
|
|
| DEFINE_TRACE(PaintWorklet) {
|
| visitor->Trace(pending_generator_registry_);
|
| - MainThreadWorklet::Trace(visitor);
|
| + Worklet::Trace(visitor);
|
| }
|
|
|
| bool PaintWorklet::NeedsToCreateGlobalScope() {
|
|
|