Index: third_party/WebKit/Source/core/dom/ExecutionContext.h |
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h |
index 899b3d2b5709923a82e47ba96345826ddc0fa5db..a972da5e6203a8df0dbe4b4c44c32c6d30919ab9 100644 |
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h |
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h |
@@ -71,6 +71,7 @@ class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier, |
}; |
virtual bool isDocument() const { return false; } |
+ virtual bool isWorkerOrWorkletGlobalScope() const { return false; } |
virtual bool isWorkerGlobalScope() const { return false; } |
virtual bool isWorkletGlobalScope() const { return false; } |
virtual bool isMainThreadWorkletGlobalScope() const { return false; } |