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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorklet.h

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.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:

Powered by Google App Engine
This is Rietveld 408576698