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

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

Issue 2029163002: Worklets - Change inheritance heirarchy of WorkletGlobalScope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 4 years, 6 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 b4f66a1fee2f2713ea0eb8f19da8afa6c39a5403..5d3a016f563eb82a6d8efd01dfe8205ecae71a09 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
@@ -6,6 +6,7 @@
#define PaintWorklet_h
#include "modules/ModulesExport.h"
+#include "modules/csspaint/PaintWorkletGlobalScope.h"
#include "modules/worklet/Worklet.h"
#include "platform/heap/Handle.h"
@@ -13,7 +14,6 @@ namespace blink {
class CSSPaintDefinition;
class CSSPaintImageGeneratorImpl;
-class PaintWorkletGlobalScope;
class MODULES_EXPORT PaintWorklet final : public Worklet {
WTF_MAKE_NONCOPYABLE(PaintWorklet);
@@ -21,7 +21,7 @@ public:
static PaintWorklet* create(LocalFrame*, ExecutionContext*);
~PaintWorklet() override;
- WorkletGlobalScope* workletGlobalScope() const final;
+ PaintWorkletGlobalScope* workletGlobalScopeProxy() const final;
CSSPaintDefinition* findDefinition(const String& name);
void addPendingGenerator(const String& name, CSSPaintImageGeneratorImpl*);

Powered by Google App Engine
This is Rietveld 408576698