Index: Source/bindings/templates/interface_base.cpp |
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp |
index b622ef728e2f2bc503806c1e4012291fa8886220..15632805b201312a1c1b38043a962a507d65d94b 100644 |
--- a/Source/bindings/templates/interface_base.cpp |
+++ b/Source/bindings/templates/interface_base.cpp |
@@ -463,7 +463,7 @@ static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate> function |
functionTemplate->SetHiddenPrototype(true); |
instanceTemplate->SetInternalFieldCount(V8Window::internalFieldCount); |
{% elif interface_name in [ |
- 'HTMLDocument', 'DedicatedWorkerGlobalScope', |
+ 'HTMLDocument', 'DedicatedWorkerGlobalScope', 'CompositorWorkerGlobalScope', |
'SharedWorkerGlobalScope', 'ServiceWorkerGlobalScope'] %} |
functionTemplate->SetHiddenPrototype(true); |
{% endif %} |