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

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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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 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,

Powered by Google App Engine
This is Rietveld 408576698