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

Unified Diff: third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h

Issue 1818223002: Introduce PaintWorkletGlobalScope, rename renderWorklet attribute to paintWorklet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix interface listing order. Created 4 years, 9 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/worklet/WorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
index 6b9c66f19d71aa94b3c917a2d7c478f34497876f..e8eaa2f68d4233d1784f2a3b04d9300773ea9e93 100644
--- a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
+++ b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
@@ -31,9 +31,6 @@ public:
using RefCounted<WorkletGlobalScope>::deref;
#endif
- // The url, userAgent and securityOrigin arguments are inherited from the
- // parent ExecutionContext for Worklets.
- static PassRefPtrWillBeRawPtr<WorkletGlobalScope> create(LocalFrame*, const KURL&, const String& userAgent, PassRefPtr<SecurityOrigin>, v8::Isolate*);
~WorkletGlobalScope() override;
bool isWorkletGlobalScope() const final { return true; }
@@ -72,14 +69,17 @@ public:
DECLARE_VIRTUAL_TRACE();
+protected:
+ // The url, userAgent and securityOrigin arguments are inherited from the
+ // parent ExecutionContext for Worklets.
+ WorkletGlobalScope(LocalFrame*, const KURL&, const String& userAgent, PassRefPtr<SecurityOrigin>, v8::Isolate*);
+
private:
#if !ENABLE(OILPAN)
void refExecutionContext() final { ref(); }
void derefExecutionContext() final { deref(); }
#endif
- WorkletGlobalScope(LocalFrame*, const KURL&, const String& userAgent, PassRefPtr<SecurityOrigin>, v8::Isolate*);
-
const KURL& virtualURL() const final { return m_url; }
KURL virtualCompleteURL(const String&) const final;

Powered by Google App Engine
This is Rietveld 408576698