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 c2aa1f551e7b4c4236f0a5a23d561a130c002519..301010363d843c2d835df59ab31e5a5340182350 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: ' |