Index: third_party/inspector_protocol/lib/ErrorSupport_cpp.template |
diff --git a/third_party/inspector_protocol/lib/ErrorSupport_cpp.template b/third_party/inspector_protocol/lib/ErrorSupport_cpp.template |
index 1d107f697a22cb661c56b43007452a57eb91ce6f..e4ae0c4e47ef466e9ecdf5aff470053b4268eaf9 100644 |
--- a/third_party/inspector_protocol/lib/ErrorSupport_cpp.template |
+++ b/third_party/inspector_protocol/lib/ErrorSupport_cpp.template |
@@ -42,7 +42,7 @@ void ErrorSupport::addError(const String& error) |
bool ErrorSupport::hasErrors() |
{ |
- return m_errors.size(); |
+ return !!m_errors.size(); |
} |
String ErrorSupport::errors() |