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 31cc8271ce6522e109ff4239b97be2611c52e61e..762df33ed9afba7e6c2dbb44f1a5c7cf9ee27a3b 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/Worklet.h" |
+#include "core/workers/MainThreadWorklet.h" |
#include "modules/ModulesExport.h" |
#include "modules/csspaint/PaintWorkletGlobalScope.h" |
#include "platform/heap/Handle.h" |
@@ -15,7 +15,7 @@ namespace blink { |
class CSSPaintDefinition; |
class CSSPaintImageGeneratorImpl; |
-class MODULES_EXPORT PaintWorklet final : public Worklet { |
+class MODULES_EXPORT PaintWorklet final : public MainThreadWorklet { |
WTF_MAKE_NONCOPYABLE(PaintWorklet); |
public: |