Index: third_party/WebKit/Source/bindings/scripts/v8_types.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_types.py b/third_party/WebKit/Source/bindings/scripts/v8_types.py |
index c89004f21a4e69510419d5b32d8dd596621034f7..3379b62c1a74f435daab52e2771c0c9bfd3710dc 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_types.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_types.py |
@@ -80,6 +80,10 @@ IdlType.is_array_buffer_or_view = property( |
IdlType.is_typed_array = property( |
lambda self: self.base_type in TYPED_ARRAY_TYPES) |
+IdlType.is_array_buffer_view = property( |
+ lambda self: (self.base_type in TYPED_ARRAY_TYPES or |
+ self.base_type in ('ArrayBufferView', 'DataView'))) |
+ |
IdlType.is_wrapper_type = property( |
lambda self: (self.is_interface_type and |
not self.is_callback_interface and |