diff --git a/dom/camera/DOMCameraManager.cpp b/dom/camera/DOMCameraManager.cpp index ac096eac95d6..bb75c32aea23 100644 --- a/dom/camera/DOMCameraManager.cpp +++ b/dom/camera/DOMCameraManager.cpp @@ -80,7 +80,6 @@ nsDOMCameraManager::CheckPermission(nsPIDOMWindow* aWindow) uint32_t permission = nsIPermissionManager::DENY_ACTION; permMgr->TestPermissionFromWindow(aWindow, "camera", &permission); if (permission != nsIPermissionManager::ALLOW_ACTION) { - NS_WARNING("No permission to access camera"); return false; }