Attempt to fix btek bustage, or at least get some more information.

git-svn-id: svn://10.0.0.236/trunk@196511 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jag%tty.nl
2006-05-15 10:28:26 +00:00
parent ec3d896a5a
commit 4998c07b06

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->GetDocument();
nsCOMPtr<nsIDocument> sourceDoc = aContent->GetCurrentDoc();
if (!sourceDoc) {
// The source is in a 'zombie' document, or not part of a