Use more mundane macros to fix backwards logic.

This commit is contained in:
waterson%netscape.com 1999-12-03 21:08:56 +00:00
Родитель 836a205cec
Коммит 139d5cb27f
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -116,7 +116,8 @@ nsDOMWindowList::NamedItem(const nsString& aName, nsIDOMWindow** aReturn)
mWebShell->FindChildWithName(aName.GetUnicode(), *getter_AddRefs(item));
nsCOMPtr<nsIScriptGlobalObject> globalObject(do_GetInterface(item));
if (NS_WARN_IF_FALSE(globalObject, "Couldn't get to the globalObject")) {
NS_ASSERTION(globalObject != nsnull, "Couldn't get to the globalObject");
if (globalObject) {
CallQueryInterface(globalObject.get(), aReturn);
}
else {