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 c717e7cd759e85018a7e2f55a12d29d840ce897b..1ae50657d933c196e6a732cfad610380c8de68b7 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_interface.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_interface.py |
@@ -108,6 +108,9 @@ def interface_context(interface): |
'bindings/core/v8/V8Float64Array.h', |
'bindings/core/v8/V8DataView.h')) |
+ # [ActiveScriptWrappable] |
+ active_scriptwrappable = 'ActiveScriptWrappable' in extended_attributes |
+ |
# [CheckSecurity] |
is_check_security = 'CheckSecurity' in extended_attributes |
if is_check_security: |
@@ -192,6 +195,7 @@ def interface_context(interface): |
'pass_cpp_type': cpp_template_type( |
cpp_ptr_type('PassRefPtr', 'RawPtr', this_gc_type), |
cpp_name(interface)), |
+ 'active_scriptwrappable': active_scriptwrappable, |
'runtime_enabled_function': runtime_enabled_function_name(interface), # [RuntimeEnabled] |
'set_wrapper_reference_from': set_wrapper_reference_from, |
'set_wrapper_reference_to': set_wrapper_reference_to, |