Index: third_party/WebKit/Source/bindings/scripts/v8_interface.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_interface.py b/third_party/WebKit/Source/bindings/scripts/v8_interface.py |
index f6bc0a752e8469a1c881564245fc61a2ff58f30a..38155c377a8333694d1c0f4a8135e4ec7fa8b9f1 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_interface.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_interface.py |
@@ -299,11 +299,12 @@ def interface_context(interface, interfaces): |
raise Exception('[Constructor] and [NoInterfaceObject] MUST NOT be' |
' specified with [HTMLConstructor]: ' |
'%s' % interface.name) |
+ includes.add('bindings/core/v8/V8HTMLConstructor.h') |
# [NamedConstructor] |
named_constructor = named_constructor_context(interface) |
- if constructors or custom_constructors or has_html_constructor or named_constructor: |
+ if constructors or custom_constructors or named_constructor: |
if interface.is_partial: |
raise Exception('[Constructor] and [NamedConstructor] MUST NOT be' |
' specified on partial interface definitions: ' |