Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_interface.py

Issue 2424693002: Custom Elements: Complete HTMLConstructor Algorithm (Closed)
Patch Set: Redefinition guard Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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: '

Powered by Google App Engine
This is Rietveld 408576698