зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1383501: Move a crash annotation so that it does not mask a previous annotation with the same key; r=handyman
MozReview-Commit-ID: 9u7VTKDglrS
This commit is contained in:
Родитель
34f00ff865
Коммит
a55d72f6da
|
@ -127,6 +127,11 @@ ProxyStream::ProxyStream(REFIID aIID, const BYTE* aInitBuf,
|
|||
CrashReporter::AnnotateCrashReport(
|
||||
NS_LITERAL_CSTRING("CoUnmarshalInterfaceResult"), hrAsStr);
|
||||
AnnotateInterfaceRegistration(aIID);
|
||||
if (!mUnmarshaledProxy) {
|
||||
CrashReporter::AnnotateCrashReport(kCrashReportKey,
|
||||
NS_LITERAL_CSTRING("!mUnmarshaledProxy"));
|
||||
}
|
||||
|
||||
#if defined(ACCESSIBILITY)
|
||||
AnnotateClassRegistration(CLSID_AccessibleHandler);
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("UnmarshalActCtx"),
|
||||
|
@ -254,13 +259,6 @@ ProxyStream::GetInterface(void** aOutInterface)
|
|||
return false;
|
||||
}
|
||||
|
||||
#if defined(MOZ_CRASHREPORTER)
|
||||
if (!mUnmarshaledProxy) {
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("ProxyStreamUnmarshalStatus"),
|
||||
NS_LITERAL_CSTRING("!mUnmarshaledProxy"));
|
||||
}
|
||||
#endif // defined(MOZ_CRASHREPORTER)
|
||||
|
||||
*aOutInterface = mUnmarshaledProxy.release();
|
||||
return true;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче