Bug 1337154: More information in the crash reports when mismatching DLL versions are present. r=gw280

MozReview-Commit-ID: 7ygQzFVmBsq

--HG--
extra : rebase_source : 52b1ab72a7d9bca59b7551ffcbf05ab609b41fcc
This commit is contained in:
Milan Sreckovic 2017-02-06 17:29:25 -05:00
Родитель 6d4115599f
Коммит c1a5fde718
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -593,7 +593,7 @@ GfxInfo::Init()
if (driverNumericVersion < knownSafeMismatchVersion ||
std::max(dllNumericVersion, dllNumericVersion2) < knownSafeMismatchVersion) {
mHasDriverVersionMismatch = true;
gfxWarningOnce() << "Mismatched driver versions between the registry " << mDriverVersion[mActiveGPUIndex].get() << " and DLL(s) " << NS_ConvertUTF16toUTF8(dllVersion).get() << ", " << NS_ConvertUTF16toUTF8(dllVersion2).get() << " reported.";
gfxCriticalNoteOnce << "Mismatched driver versions between the registry " << mDriverVersion[mActiveGPUIndex].get() << " and DLL(s) " << NS_ConvertUTF16toUTF8(dllVersion).get() << ", " << NS_ConvertUTF16toUTF8(dllVersion2).get() << " reported.";
}
} else if (dllNumericVersion == 0 && dllNumericVersion2 == 0) {
// Leave it as an asserting error for now, to see if we can find