Index: third_party/WebKit/Source/bindings/scripts/v8_methods.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_methods.py b/third_party/WebKit/Source/bindings/scripts/v8_methods.py |
index d5626cac39612253c917db3fab1fbd930771cec7..a2f12e4120679c3de74bc21b148cbb439c6c3987 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_methods.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_methods.py |
@@ -101,6 +101,9 @@ def method_context(interface, method, is_visible=True): |
if is_check_security_for_receiver or is_check_security_for_return_value: |
includes.add('bindings/core/v8/BindingSecurity.h') |
+ is_ce_reactions = 'CEReactions' in extended_attributes |
+ if is_ce_reactions: |
+ includes.add('core/dom/custom/CEReactionsScope.h') |
is_custom_element_callbacks = 'CustomElementCallbacks' in extended_attributes |
if is_custom_element_callbacks: |
includes.add('core/dom/custom/V0CustomElementProcessingStack.h') |
@@ -154,6 +157,7 @@ def method_context(interface, method, is_visible=True): |
'is_call_with_script_arguments': is_call_with_script_arguments, |
'is_call_with_script_state': is_call_with_script_state, |
'is_call_with_this_value': is_call_with_this_value, |
+ 'is_ce_reactions': is_ce_reactions, |
'is_check_security_for_receiver': is_check_security_for_receiver, |
'is_check_security_for_return_value': is_check_security_for_return_value, |
'is_custom': 'Custom' in extended_attributes and |