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

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

Issue 2853743002: Worklet: Introduce PaintWorkletGlobalScopeProxy (Closed)
Patch Set: 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 762df33ed9afba7e6c2dbb44f1a5c7cf9ee27a3b..9dca08c3834160b5c2394aa01ce40e4576041194 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
@@ -7,7 +7,7 @@
#include "core/workers/MainThreadWorklet.h"
#include "modules/ModulesExport.h"
-#include "modules/csspaint/PaintWorkletGlobalScope.h"
+#include "modules/csspaint/PaintWorkletGlobalScopeProxy.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -22,7 +22,7 @@ class MODULES_EXPORT PaintWorklet final : public MainThreadWorklet {
static PaintWorklet* Create(LocalFrame*);
~PaintWorklet() override;
- PaintWorkletGlobalScope* GetWorkletGlobalScopeProxy() const final;
+ WorkletGlobalScopeProxy* GetWorkletGlobalScopeProxy() const final;
CSSPaintDefinition* FindDefinition(const String& name);
void AddPendingGenerator(const String& name, CSSPaintImageGeneratorImpl*);
@@ -31,7 +31,7 @@ class MODULES_EXPORT PaintWorklet final : public MainThreadWorklet {
private:
explicit PaintWorklet(LocalFrame*);
- Member<PaintWorkletGlobalScope> paint_worklet_global_scope_;
+ std::unique_ptr<PaintWorkletGlobalScopeProxy> global_scope_proxy_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698