summaryrefslogtreecommitdiffstats
path: root/chrome/tools/crash_service/crash_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools/crash_service/crash_service.cc')
-rw-r--r--chrome/tools/crash_service/crash_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/tools/crash_service/crash_service.cc b/chrome/tools/crash_service/crash_service.cc
index e672880..ed31107 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) {