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 3224a5d84dee05d4bb734d959d531c1d4f3401fe..7447b56aba79ede4b9e2fad6aff39718fbabbf06 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/idl_types.py |
+++ b/third_party/WebKit/Source/bindings/scripts/idl_types.py |
@@ -208,6 +208,10 @@ class IdlType(IdlTypeBase): |
return self.base_type in INTEGER_TYPES |
@property |
+ def is_void(self): |
+ return self.base_type == 'void' |
+ |
+ @property |
def is_numeric_type(self): |
return self.base_type in NUMERIC_TYPES |