Index: third_party/WebKit/Source/bindings/scripts/idl_types.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/idl_types.py b/third_party/WebKit/Source/bindings/scripts/idl_types.py |
index 67edb06898dc0a5456856db49e41b9cc36be6a3a..dcd6f92bf250ef15560c59b1cbdece54a8b1b38f 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/idl_types.py |
+++ b/third_party/WebKit/Source/bindings/scripts/idl_types.py |
@@ -201,6 +201,10 @@ class IdlType(IdlTypeBase): |
return self.base_type in NUMERIC_TYPES |
@property |
+ def is_boolean_type(self): |
+ return self.base_type == 'boolean' |
+ |
+ @property |
def is_primitive_type(self): |
return self.base_type in PRIMITIVE_TYPES |