From 1405fe4c71c31be46f3064deb47fb27b6a5e5de7 Mon Sep 17 00:00:00 2001 From: "caillon%returnzero.com" Date: Wed, 2 Oct 2002 08:45:54 +0000 Subject: [PATCH] IsCallerChrome() should return a PRBool like the signature says and not an nsresult. r=cls sr=jst via IRC. No bug. --- content/base/src/nsContentUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsContentUtils.cpp b/content/base/src/nsContentUtils.cpp index d77c10d7bcca..e393a83a08f8 100644 --- a/content/base/src/nsContentUtils.cpp +++ b/content/base/src/nsContentUtils.cpp @@ -854,7 +854,7 @@ PRBool nsContentUtils::IsCallerChrome() { if (!sSecurityManager) { - return NS_OK; + return PR_FALSE; } PRBool is_caller_chrome = PR_FALSE;