From aeabb87401ef13161bfa7694b095332804d6b318 Mon Sep 17 00:00:00 2001 From: Mike Habicher Date: Thu, 26 Jun 2014 08:20:00 -0400 Subject: [PATCH] Bug 1030384 - Change a spammy NS_WARNING into a log message instead. r=khuey --- dom/camera/CameraPreferences.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dom/camera/CameraPreferences.cpp b/dom/camera/CameraPreferences.cpp index a4df3fee3545..1014e4372041 100644 --- a/dom/camera/CameraPreferences.cpp +++ b/dom/camera/CameraPreferences.cpp @@ -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 */