mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
More GetDocument bustage
This commit is contained in:
parent
b6f6ad74ba
commit
01018adcbd
@ -604,10 +604,8 @@ nsPasswordManager::Notify(nsIContent* aFormNode,
|
||||
PRBool* aCancelSubmit)
|
||||
{
|
||||
// Check the reject list
|
||||
nsCOMPtr<nsIDocument> formDoc;
|
||||
aFormNode->GetDocument(getter_AddRefs(formDoc));
|
||||
nsCOMPtr<nsIURI> uri;
|
||||
formDoc->GetDocumentURL(getter_AddRefs(uri));
|
||||
formDoc->GetDocument()->GetDocumentURL(getter_AddRefs(uri));
|
||||
|
||||
nsCAutoString realm;
|
||||
uri->GetPrePath(realm);
|
||||
|
Loading…
Reference in New Issue
Block a user