Fixing build bustage.

git-svn-id: svn://10.0.0.236/trunk@151132 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com 2004-01-10 03:21:35 +00:00
parent 4da1d7c294
commit cc17dc64e3
2 changed files with 5 additions and 5 deletions

View File

@ -109,7 +109,7 @@ nsHistoryLoadListener::OnStateChange(nsIWebProgress *aWebProgress,
if (!doc) return NS_OK;
nsCOMPtr<nsIURI> uri;
rv = doc->GetDocumentURL(getter_AddRefs(uri));
rv = doc->GetDocumentURI(getter_AddRefs(uri));
if (NS_FAILED(rv)) return rv;
nsXPIDLCString urlString;

View File

@ -624,7 +624,7 @@ nsPasswordManager::OnStateChange(nsIWebProgress* aWebProgress,
nsCOMPtr<nsIDocument> doc = do_QueryInterface(domDoc);
nsCAutoString realm;
if (!GetPasswordRealm(doc->GetDocumentURL(), realm))
if (!GetPasswordRealm(doc->GetDocumentURI(), realm))
return NS_OK;
SignonHashEntry* hashEnt;
@ -761,7 +761,7 @@ nsPasswordManager::Notify(nsIContent* aFormNode,
// Check the reject list
nsCAutoString realm;
if (!GetPasswordRealm(aFormNode->GetDocument()->GetDocumentURL(), realm))
if (!GetPasswordRealm(aFormNode->GetDocument()->GetDocumentURI(), realm))
return NS_OK;
PRInt32 rejectValue;
@ -1187,7 +1187,7 @@ nsPasswordManager::AutoCompleteSearch(const nsAString& aSearchString,
nsCOMPtr<nsIDocument> doc = do_QueryInterface(domDoc);
nsCAutoString realm;
if (!GetPasswordRealm(doc->GetDocumentURL(), realm)) {
if (!GetPasswordRealm(doc->GetDocumentURI(), realm)) {
*aResult = nsnull;
return NS_OK;
}
@ -1667,7 +1667,7 @@ nsPasswordManager::FillPassword(nsIDOMEvent* aEvent)
nsCOMPtr<nsIContent> fieldContent = do_QueryInterface(userField);
nsCAutoString realm;
if (!GetPasswordRealm(fieldContent->GetDocument()->GetDocumentURL(), realm))
if (!GetPasswordRealm(fieldContent->GetDocument()->GetDocumentURI(), realm))
return NS_OK;
nsAutoString userValue;