updates to sync with nsString2 api

git-svn-id: svn://10.0.0.236/trunk@28574 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-04-21 23:43:11 +00:00
parent 0ff9dcbdc7
commit cbe30f2eb9
7 changed files with 13 additions and 13 deletions

View File

@@ -352,7 +352,7 @@ NS_IMETHODIMP nsHTMLDocument::SetTitle(const nsString& aTitle)
nsIWebShell* ws = nsnull;
container->QueryInterface(kIWebShellIID, (void**) &ws);
if (nsnull != ws) {
ws->SetTitle(aTitle);
ws->SetTitle(aTitle.GetUnicode());
NS_RELEASE(ws);
}
NS_RELEASE(container);