updates to sync with nsString2 api

git-svn-id: svn://10.0.0.236/trunk@28585 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-04-22 00:05:59 +00:00
parent 9c681e5866
commit 79181f780d
3 changed files with 26 additions and 28 deletions

View File

@@ -337,7 +337,7 @@ nsresult nsWebShellWindow::Initialize(nsIWebShellWindow* aParent,
NS_IF_ADDREF(mCallbacks);
if (nsnull != aUrl) {
mWebShell->LoadURL(urlString);
mWebShell->LoadURL(urlString.GetUnicode());
}
// Create the IWidgetController for the document...
@@ -1272,7 +1272,7 @@ nsCOMPtr<nsIDOMDocument> nsWebShellWindow::GetNamedDOMDoc(const nsString & aWebS
if (aWebShellName.Equals("this")) { // XXX small kludge for code reused
childWebShell = do_QueryInterface(mWebShell);
} else {
mWebShell->FindChildWithName(aWebShellName, *getter_AddRefs(childWebShell));
mWebShell->FindChildWithName(aWebShellName.GetUnicode(), *getter_AddRefs(childWebShell));
if (!childWebShell)
return domDoc;
}