mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
IsCallerChrome() should return a PRBool like the signature says and not an nsresult.
r=cls sr=jst via IRC. No bug.
This commit is contained in:
parent
3496ea49dc
commit
1405fe4c71
@ -854,7 +854,7 @@ PRBool
|
||||
nsContentUtils::IsCallerChrome()
|
||||
{
|
||||
if (!sSecurityManager) {
|
||||
return NS_OK;
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
PRBool is_caller_chrome = PR_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user