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

git-svn-id: svn://10.0.0.236/trunk@63225 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
2000-03-17 01:19:33 +00:00
parent 6e9164b138
commit aaaad11285
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))
{