From 4998c07b06c03072e280aabf5ede114900f7b3f2 Mon Sep 17 00:00:00 2001 From: "jag%tty.nl" Date: Mon, 15 May 2006 10:28:26 +0000 Subject: [PATCH] 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 --- mozilla/docshell/base/nsWebShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 1c4c477d2e5..b011fb44a98 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -664,7 +664,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent, PRBool inherit; nsresult rv = URIInheritsSecurityContext(aURI, &inherit); if (NS_FAILED(rv) || inherit) { - nsCOMPtr sourceDoc = aContent->GetDocument(); + nsCOMPtr sourceDoc = aContent->GetCurrentDoc(); if (!sourceDoc) { // The source is in a 'zombie' document, or not part of a