Bug 693813 - Don't evaluate our blacklisting logic if we're being called for a downloaded blacklist entry. r=bjacob

This commit is contained in:
Joe Drew 2011-10-11 17:18:56 -04:00
parent 14574a5fa5
commit 04a35db235

View File

@ -253,6 +253,12 @@ GfxInfo::GetFeatureStatusImpl(PRInt32 aFeature, PRInt32 *aStatus, nsAString & aS
*aStatus = nsIGfxInfo::FEATURE_NO_INFO;
aSuggestedDriverVersion.SetIsVoid(PR_TRUE);
if (aDriverInfo) {
// We don't implement the downloaded blacklist yet. Don't evaluate
// anything.
return NS_OK;
}
#ifdef MOZ_PLATFORM_MAEMO
// on Maemo, the glxtest probe doesn't build, and we don't really need GfxInfo anyway
return NS_OK;