From 30cf36568f208e441a390cd7675503ce6d832d75 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Wed, 6 Feb 2013 10:23:09 -0800 Subject: [PATCH] Bug 838394: Remove redundant/unnecessary NS_WARNING in nsMixedContentBlocker::ShouldLoad, and replace MOZ_NOT_REACHED with MOZ_ASSERT(false) to get defined behavior. r=tanvi r=smaug --- content/base/src/nsMixedContentBlocker.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/base/src/nsMixedContentBlocker.cpp b/content/base/src/nsMixedContentBlocker.cpp index 9f46351e90c8..f37507e0adee 100644 --- a/content/base/src/nsMixedContentBlocker.cpp +++ b/content/base/src/nsMixedContentBlocker.cpp @@ -262,8 +262,7 @@ nsMixedContentBlocker::ShouldLoad(uint32_t aContentType, // This content policy works as a whitelist. default: - MOZ_NOT_REACHED("Mixed content of unknown type"); - NS_WARNING("Mixed content of unknown type"); + MOZ_ASSERT(false, "Mixed content of unknown type"); break; }