Bug 1030384 - Change a spammy NS_WARNING into a log message instead. r=khuey

This commit is contained in:
Mike Habicher 2014-06-26 08:20:00 -04:00
parent 55f22c6544
commit aeabb87401

View File

@ -129,13 +129,9 @@ CameraPreferences::PreferenceChanged(const char* aPref, void* aClosure)
return;
}
#ifdef DEBUG
if (NS_FAILED(rv)) {
nsCString msg;
msg.AppendPrintf("Failed to update pref '%s' (0x%x)\n", aPref, rv);
NS_WARNING(msg.get());
DOM_CAMERA_LOGE("Failed to get pref '%s' (0x%x)\n", aPref, rv);
}
#endif
}
/* static */