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 a5d91d53683c2d7557240b18fc795fa470421c01..383a257bd734c320c699b0e1457b0ab713ff230d 100644 |
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h |
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h |
@@ -70,6 +70,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; } |