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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user