summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/workers/worklet_global_scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/workers/worklet_global_scope.h')
-rw-r--r--chromium/third_party/blink/renderer/core/workers/worklet_global_scope.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/workers/worklet_global_scope.h b/chromium/third_party/blink/renderer/core/workers/worklet_global_scope.h
index b57faf0491c..459d909d089 100644
--- a/chromium/third_party/blink/renderer/core/workers/worklet_global_scope.h
+++ b/chromium/third_party/blink/renderer/core/workers/worklet_global_scope.h
@@ -71,6 +71,7 @@ class CORE_EXPORT WorkletGlobalScope
void Dispose() override;
WorkerThread* GetThread() const final;
const base::UnguessableToken& GetDevToolsToken() const override;
+ bool IsInitialized() const final { return true; }
virtual LocalFrame* GetFrame() const;
@@ -123,7 +124,7 @@ class CORE_EXPORT WorkletGlobalScope
WorkerReportingProxy&,
WorkerThread*);
- BrowserInterfaceBrokerProxy& GetBrowserInterfaceBroker() override;
+ const BrowserInterfaceBrokerProxy& GetBrowserInterfaceBroker() const override;
// Returns the WorkletToken that uniquely identifies this worklet.
virtual WorkletToken GetWorkletToken() const = 0;
@@ -158,8 +159,6 @@ class CORE_EXPORT WorkletGlobalScope
EventTarget* ErrorEventTarget() final { return nullptr; }
- void BindContentSecurityPolicyToExecutionContext() override;
-
// The |url_| and |user_agent_| are inherited from the parent Document.
const KURL url_;
const String user_agent_;