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

Unified Diff: sky/engine/bindings/scripts/v8_utilities.py

Issue 683593002: Remove GarbageCollected support from the bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/bindings/scripts/v8_types.py ('k') | sky/engine/bindings/templates/interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/scripts/v8_utilities.py
diff --git a/sky/engine/bindings/scripts/v8_utilities.py b/sky/engine/bindings/scripts/v8_utilities.py
index 53f305819ba66744b40cbcaa3252326c6668536f..61e144043f0cba1a4a49d1e3810cb3e7f39a7e52 100644
--- a/sky/engine/bindings/scripts/v8_utilities.py
+++ b/sky/engine/bindings/scripts/v8_utilities.py
@@ -269,16 +269,6 @@ def expanded_exposure_set_for_interface(interface):
return sorted(set(exposure_set))
-# [GarbageCollected], [WillBeGarbageCollected]
-def gc_type(definition):
- extended_attributes = definition.extended_attributes
- if 'GarbageCollected' in extended_attributes:
- return 'GarbageCollectedObject'
- elif 'WillBeGarbageCollected' in extended_attributes:
- return 'WillBeGarbageCollectedObject'
- return 'RefCountedObject'
-
-
# [ImplementedAs]
def cpp_name(definition_or_member):
extended_attributes = definition_or_member.extended_attributes
« no previous file with comments | « sky/engine/bindings/scripts/v8_types.py ('k') | sky/engine/bindings/templates/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698