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

git-svn-id: svn://10.0.0.236/trunk@196578 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jag%tty.nl
2006-05-15 20:33:53 +00:00
parent 9f9aa3b9c7
commit 3c351db442
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