replaced use of private type with |getter_AddRefs|, r=travis

This commit is contained in:
scc@netscape.com
2000-03-17 01:19:33 +00:00
parent 5f0c3d7cbe
commit c8c97d1b47
2 changed files with 2 additions and 2 deletions

View File

@@ -1055,7 +1055,7 @@ nsWebShell::DoLoadURL(nsIURI * aUri,
docViewer->GetDocument(*getter_AddRefs(doc));
// Get the URL for the document
nsCOMPtr<nsIURI> docURL = nsDontAddRef<nsIURI>(doc->GetDocumentURL());
nsCOMPtr<nsIURI> docURL = getter_AddRefs(doc->GetDocumentURL());
if (aUri && docURL && EqualBaseURLs(docURL, aUri))
{