Undo these changes now that we have a better fix for 2.95.2

This commit is contained in:
jag@tty.nl
2006-05-15 20:33:53 +00:00
parent 6a71de7502
commit a7a78ee3e9
2 changed files with 3 additions and 3 deletions

View File

@@ -664,7 +664,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
PRBool inherit;
nsresult rv = URIInheritsSecurityContext(aURI, &inherit);
if (NS_FAILED(rv) || inherit) {
nsCOMPtr<nsIDocument> sourceDoc = aContent->GetCurrentDoc();
nsCOMPtr<nsIDocument> sourceDoc = aContent->GetDocument();
if (!sourceDoc) {
// The source is in a 'zombie' document, or not part of a