Index: minidump/minidump_module_crashpad_info_writer.cc |
diff --git a/minidump/minidump_module_crashpad_info_writer.cc b/minidump/minidump_module_crashpad_info_writer.cc |
index 93da6f0f6a7b7401300672d4104a1041c3d89507..d85685832410401c106efc3eddb36be97eb2aa0a 100644 |
--- a/minidump/minidump_module_crashpad_info_writer.cc |
+++ b/minidump/minidump_module_crashpad_info_writer.cc |
@@ -161,4 +161,8 @@ void MinidumpModuleCrashpadInfoListWriter::AddModule( |
AddChild(module.Pass()); |
} |
+bool MinidumpModuleCrashpadInfoListWriter::IsUseful() const { |
+ return !IsEmpty(); |
+} |
+ |
} // namespace crashpad |