| 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;
|
|
|
|
|