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

Unified Diff: Source/bindings/scripts/v8_types.py

Issue 360703003: Implement Blink-in-JS for DOM methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/bindings/scripts/v8_types.py
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py
index 95bb3adbfe46dd09d1d8e196e61aa930739d3882..1baf9de0fa894d043b41acc26758b0bde95535cf 100644
--- a/Source/bindings/scripts/v8_types.py
+++ b/Source/bindings/scripts/v8_types.py
@@ -74,6 +74,7 @@ TYPED_ARRAYS = {
IdlType.is_typed_array_type = property(
lambda self: self.base_type in TYPED_ARRAYS)
+IdlUnionType.is_typed_array_type = False
IdlType.is_wrapper_type = property(
@@ -191,7 +192,7 @@ def cpp_type(idl_type, extended_attributes=None, raw_type=False, used_as_argumen
return base_idl_type + '*'
-def cpp_type_union(idl_type, extended_attributes=None):
+def cpp_type_union(idl_type, extended_attributes=None, raw_type=False):
return (member_type.cpp_type for member_type in idl_type.member_types)

Powered by Google App Engine
This is Rietveld 408576698