Index: Source/bindings/scripts/preprocess-idls.pl |
diff --git a/Source/bindings/scripts/preprocess-idls.pl b/Source/bindings/scripts/preprocess-idls.pl |
index 89f5699f6d552b41724ab6dd60124d5298619f98..1f6fdf20640c5ea25f4360c33f0fe4afbfb3b1b7 100644 |
--- a/Source/bindings/scripts/preprocess-idls.pl |
+++ b/Source/bindings/scripts/preprocess-idls.pl |
@@ -77,7 +77,7 @@ print PARTIAL_WINDOW_FH "partial interface DOMWindow {\n"; |
print PARTIAL_WINDOW_FH $constructorAttributesCode; |
print PARTIAL_WINDOW_FH "};\n"; |
close PARTIAL_WINDOW_FH; |
-$supplementalDependencies{$windowConstructorsFile} = "DOMWindow"; |
+$supplementalDependencies{$windowConstructorsFile} = "DOMWindow" if $interfaceNameToIdlFile{"DOMWindow"}; |
# Resolves partial interfaces dependencies. |
foreach my $idlFile (keys %supplementalDependencies) { |