Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: lib/ErrorSupport_cpp.template

Issue 2495353004: [inspector_protocol] Support chromium code style. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Collections_h.template ('k') | lib/Protocol_cpp.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/ErrorSupport_cpp.template
diff --git a/lib/ErrorSupport_cpp.template b/lib/ErrorSupport_cpp.template
index 1d107f697a22cb661c56b43007452a57eb91ce6f..e4ae0c4e47ef466e9ecdf5aff470053b4268eaf9 100644
--- a/lib/ErrorSupport_cpp.template
+++ b/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()
« no previous file with comments | « lib/Collections_h.template ('k') | lib/Protocol_cpp.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698