Index: third_party/WebKit/Source/modules/csspaint/PaintWorklet.h |
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h |
index 35848ae47a377fffa5686c60413a53c33d71be2d..ded22f0c8c607b0777a886b6d3f1804ffed30c5f 100644 |
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h |
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h |
@@ -5,7 +5,7 @@ |
#ifndef PaintWorklet_h |
#define PaintWorklet_h |
-#include "core/workers/MainThreadWorklet.h" |
+#include "core/workers/Worklet.h" |
#include "modules/ModulesExport.h" |
#include "modules/csspaint/PaintWorkletGlobalScopeProxy.h" |
#include "modules/csspaint/PaintWorkletPendingGeneratorRegistry.h" |
@@ -18,7 +18,7 @@ class CSSPaintImageGeneratorImpl; |
// Manages a paint worklet: |
// https://drafts.css-houdini.org/css-paint-api/#dom-css-paintworklet |
-class MODULES_EXPORT PaintWorklet final : public MainThreadWorklet { |
+class MODULES_EXPORT PaintWorklet final : public Worklet { |
WTF_MAKE_NONCOPYABLE(PaintWorklet); |
public: |