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