Index: third_party/WebKit/Source/bindings/core/v8/ToV8.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8.h b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
index 7dcf58d1220e17511d9440643e30b0aac30e500b..5c8c07cf37e40afb087e23746658b8a75048d55e 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
@@ -22,7 +22,7 @@ namespace blink { |
class DOMWindow; |
class Dictionary; |
class EventTarget; |
-class WorkerGlobalScope; |
+class WorkerOrWorkletGlobalScope; |
// ScriptWrappable |
@@ -48,11 +48,11 @@ inline v8::Local<v8::Value> toV8(Node* impl, v8::Local<v8::Object> creationConte |
return ScriptWrappable::fromNode(impl)->wrap(isolate, creationContext); |
} |
-// Special versions for DOMWindow, WorkerGlobalScope and EventTarget |
+// Special versions for DOMWindow, WorkerOrWorkletGlobalScope and EventTarget |
CORE_EXPORT v8::Local<v8::Value> toV8(DOMWindow*, v8::Local<v8::Object> creationContext, v8::Isolate*); |
CORE_EXPORT v8::Local<v8::Value> toV8(EventTarget*, v8::Local<v8::Object> creationContext, v8::Isolate*); |
-v8::Local<v8::Value> toV8(WorkerGlobalScope*, v8::Local<v8::Object> creationContext, v8::Isolate*); |
+v8::Local<v8::Value> toV8(WorkerOrWorkletGlobalScope*, v8::Local<v8::Object> creationContext, v8::Isolate*); |
// PassRefPtr, RawPtr and RefPtr |