Skip to content
Snippets Groups Projects
Commit 8867f10c authored by Emanuel Hoogeveen's avatar Emanuel Hoogeveen
Browse files

Bug 1338574 - Assertions.cpp can't use MOZ_CRASH_ANNOTATE, so set the crash...

Bug 1338574 - Assertions.cpp can't use MOZ_CRASH_ANNOTATE, so set the crash reason directly. r=froydnj
parent 596f3774
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ MOZ_CrashOOL(const char* aFilename, int aLine, const char* aReason)
#ifdef DEBUG
MOZ_ReportCrash(aReason, aFilename, aLine);
#endif
MOZ_CRASH_ANNOTATE(aReason);
gMozCrashReason = aReason;
MOZ_REALLY_CRASH(aLine);
}
......@@ -59,7 +59,7 @@ MOZ_CrashPrintf(const char* aFilename, int aLine, const char* aFormat, ...)
#ifdef DEBUG
MOZ_ReportCrash(sPrintfCrashReason, aFilename, aLine);
#endif
MOZ_CRASH_ANNOTATE(sPrintfCrashReason);
gMozCrashReason = sPrintfCrashReason;
MOZ_REALLY_CRASH(aLine);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment