Index: Source/bindings/scripts/preprocess_idls.py |
diff --git a/Source/bindings/scripts/preprocess_idls.py b/Source/bindings/scripts/preprocess_idls.py |
index 2e330445461f5595435419c2f1e616644eb3eb35..74858dd809f54d919a6b1ce3dd39db2af83bd3e0 100644 |
--- a/Source/bindings/scripts/preprocess_idls.py |
+++ b/Source/bindings/scripts/preprocess_idls.py |
@@ -188,9 +188,9 @@ def parse_idl_files(idl_files, window_constructors_filename, workercontext_const |
generate_global_constructors_partial_interface("Window", window_constructors_filename, window_constructor_attributes_list) |
if 'Window' in interface_name_to_idl_file: |
supplemental_dependencies[window_constructors_filename] = ['Window'] |
- generate_global_constructors_partial_interface("WorkerContext", workercontext_constructors_filename, workercontext_constructor_attributes_list) |
- if 'WorkerContext' in interface_name_to_idl_file: |
- supplemental_dependencies[workercontext_constructors_filename] = ['WorkerContext'] |
+ generate_global_constructors_partial_interface("WorkerGlobalScope", workercontext_constructors_filename, workercontext_constructor_attributes_list) |
+ if 'WorkerGlobalScope' in interface_name_to_idl_file: |
+ supplemental_dependencies[workercontext_constructors_filename] = ['WorkerGlobalScope'] |
# Resolve partial interfaces dependencies |
for idl_file, base_files in supplemental_dependencies.iteritems(): |