Still bug 239572, but this time with the fix not commented out!

r/sr=jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@154537 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sicking%bigfoot.com
2004-04-06 16:25:43 +00:00
parent aa5b268138
commit 0a45eb7008

View File

@@ -246,9 +246,9 @@ GetDocumentFromScriptContext(nsIScriptContext *aScriptContext)
if (window) {
nsCOMPtr<nsIDOMDocument> domdoc;
window->GetDocument(getter_AddRefs(domdoc));
//if (domdoc) {
if (domdoc) {
CallQueryInterface(domdoc, &doc);
//}
}
}
return doc;
}