зеркало из https://github.com/mozilla/gecko-dev.git
Use more mundane macros to fix backwards logic.
This commit is contained in:
Родитель
836a205cec
Коммит
139d5cb27f
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче