From 22057781f4e07cae118dec04817d31bcaa63a958 Mon Sep 17 00:00:00 2001 From: Eric Rahm Date: Tue, 4 Oct 2016 10:18:17 -0700 Subject: [PATCH] Bug 1307216 - Remove warning about non-existent plug-in registry key. r=bsmedberg It's possible the plugin key doesn't exist, there's no need to warn about that. MozReview-Commit-ID: Law8J9zUHCt --HG-- extra : rebase_source : d80ac46094c55281490659d622a4cdd8c2a95c86 --- dom/plugins/base/nsPluginHost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/plugins/base/nsPluginHost.cpp b/dom/plugins/base/nsPluginHost.cpp index c67c28b3995c..5c289538f164 100644 --- a/dom/plugins/base/nsPluginHost.cpp +++ b/dom/plugins/base/nsPluginHost.cpp @@ -2359,7 +2359,7 @@ WatchRegKey(uint32_t aRoot, nsCOMPtr& aKey) nsresult rv = aKey->Open(aRoot, NS_LITERAL_STRING("Software\\MozillaPlugins"), nsIWindowsRegKey::ACCESS_READ | nsIWindowsRegKey::ACCESS_NOTIFY); - if (NS_WARN_IF(NS_FAILED(rv))) { + if (NS_FAILED(rv)) { aKey = nullptr; return; }