Index: chrome/tools/crash_service/crash_service.cc |
diff --git a/chrome/tools/crash_service/crash_service.cc b/chrome/tools/crash_service/crash_service.cc |
index e6728807c272ecd5b0223c7b92678ebe0c24f697..ed311070389804bec1f9b104a27e0e0fca5b8a07 100644 |
--- a/chrome/tools/crash_service/crash_service.cc |
+++ b/chrome/tools/crash_service/crash_service.cc |
@@ -40,7 +40,7 @@ bool CustomInfoToMap(const google_breakpad::ClientInfo* client_info, |
(*map)[L"rept"] = reporter_tag; |
- return (map->size() > 0); |
+ return !map->empty(); |
} |
bool WriteCustomInfoToFile(const std::wstring& dump_path, const CrashMap& map) { |