mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 853857 - Check the result of CrashReporter::CheckForLastRunCrash. r=ted
This commit is contained in:
parent
9af8ee20af
commit
6566a4ec52
@ -2434,9 +2434,9 @@ CheckForLastRunCrash()
|
||||
#endif
|
||||
nsCOMPtr<nsIFile> lastMinidumpFile;
|
||||
CreateFileFromPath(lastMinidump.get(),
|
||||
getter_AddRefs(lastMinidumpFile));
|
||||
getter_AddRefs(lastMinidumpFile));
|
||||
|
||||
if (NS_FAILED(lastMinidumpFile->Exists(&exists)) || !exists) {
|
||||
if (!lastMinidumpFile || NS_FAILED(lastMinidumpFile->Exists(&exists)) || !exists) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user