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

Unified Diff: Source/bindings/scripts/unstable/code_generator_v8.py

Issue 134683007: IDL compiler: sync Python to r166680 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Order Created 6 years, 10 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
« no previous file with comments | « Source/bindings/scripts/compute_dependencies.py ('k') | Source/bindings/scripts/unstable/v8_interface.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/unstable/code_generator_v8.py
diff --git a/Source/bindings/scripts/unstable/code_generator_v8.py b/Source/bindings/scripts/unstable/code_generator_v8.py
index 71232ed577ffe2c0e21e42bda80c0ff0bade5247..2ff90983059fcc73f038b8b1877ea7c4ea788399 100644
--- a/Source/bindings/scripts/unstable/code_generator_v8.py
+++ b/Source/bindings/scripts/unstable/code_generator_v8.py
@@ -104,15 +104,15 @@ def write_header_and_cpp(definitions, interface_name, interfaces_info, output_di
interface_name
for interface_name, interface_info in interfaces_info.iteritems()
if interface_info['is_callback_interface']))
- v8_types.set_garbage_collected_types(set(
- interface_name
- for interface_name, interface_info in interfaces_info.iteritems()
- if 'inherited_extended_attributes' in interface_info and
- 'GarbageCollected' in interface_info['inherited_extended_attributes']))
v8_types.set_implemented_as_interfaces(dict(
(interface_name, interface_info['implemented_as'])
for interface_name, interface_info in interfaces_info.iteritems()
if 'implemented_as' in interface_info))
+ v8_types.set_will_be_garbage_collected_types(set(
+ interface_name
+ for interface_name, interface_info in interfaces_info.iteritems()
+ if 'inherited_extended_attributes' in interface_info and
+ 'WillBeGarbageCollected' in interface_info['inherited_extended_attributes']))
# Generate contents (input parameters for Jinja)
template_contents = generate_contents(interface)
« no previous file with comments | « Source/bindings/scripts/compute_dependencies.py ('k') | Source/bindings/scripts/unstable/v8_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698