mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 1030384 - Change a spammy NS_WARNING into a log message instead. r=khuey
This commit is contained in:
parent
55f22c6544
commit
aeabb87401
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user