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

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

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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/compute_interfaces_info_overall.py
diff --git a/third_party/WebKit/Source/bindings/scripts/compute_interfaces_info_overall.py b/third_party/WebKit/Source/bindings/scripts/compute_interfaces_info_overall.py
index cdfeaaffe08581f6aec19f9ad2c5422e462a029a..3e4270294ebbaf3c9ceb30a64099d596e4263c5a 100755
--- a/third_party/WebKit/Source/bindings/scripts/compute_interfaces_info_overall.py
+++ b/third_party/WebKit/Source/bindings/scripts/compute_interfaces_info_overall.py
@@ -91,7 +91,6 @@ from utilities import idl_filename_to_component, read_pickle_files, write_pickle
INHERITED_EXTENDED_ATTRIBUTES = set([
'ActiveScriptWrappable',
'DependentLifetime',
- 'GarbageCollected',
])
# Main variable (filled in and exported)
@@ -184,8 +183,7 @@ def compute_global_type_info():
implemented_as_interfaces[interface_name] = interface_info['implemented_as']
inherited_extended_attributes = interface_info['inherited_extended_attributes']
- if 'GarbageCollected' in inherited_extended_attributes:
- garbage_collected_interfaces.add(interface_name)
+ garbage_collected_interfaces.add(interface_name)
interfaces_info['ancestors'] = ancestors
interfaces_info['callback_interfaces'] = callback_interfaces

Powered by Google App Engine
This is Rietveld 408576698