diff --git a/caps/src/nsScriptSecurityManager.cpp b/caps/src/nsScriptSecurityManager.cpp index 8a593c529c7..f897e43133c 100644 --- a/caps/src/nsScriptSecurityManager.cpp +++ b/caps/src/nsScriptSecurityManager.cpp @@ -664,7 +664,7 @@ nsScriptSecurityManager::CheckPropertyAccessImpl(PRUint32 aAction, return NS_ERROR_FAILURE; } rv = CheckSameOriginDOMProp(subjectPrincipal, objectPrincipal, - aAction, (PRBool)aTargetURI); + aAction, aTargetURI != nsnull); break; } default: