Index: Source/core/inspector/CodeGeneratorInstrumentation.py |
diff --git a/Source/core/inspector/CodeGeneratorInstrumentation.py b/Source/core/inspector/CodeGeneratorInstrumentation.py |
index c31371766163373f9e931040a4b25fb3a24b68cd..925e4cb60884659505a5004b0e269977b9c5a5e4 100755 |
--- a/Source/core/inspector/CodeGeneratorInstrumentation.py |
+++ b/Source/core/inspector/CodeGeneratorInstrumentation.py |
@@ -247,6 +247,8 @@ class Method: |
if self.return_type == "bool": |
self.default_return_value = "false" |
+ elif self.return_type == "int": |
+ self.default_return_value = "0" |
elif self.return_type == "String": |
self.default_return_value = "\"\"" |
else: |