update to nsString2 API

This commit is contained in:
rickg%netscape.com 1999-05-04 06:38:37 +00:00
parent d0ca9f4302
commit e320c2bafb
2 changed files with 2 additions and 2 deletions

View File

@ -1211,7 +1211,7 @@ nsWebShell::AddChild(nsIWebShell* aChild)
}
mChildren.AppendElement(aChild);
aChild->SetParent(this);
aChild->SetDefaultCharacterSet(mDefaultCharacterSet);
aChild->SetDefaultCharacterSet(mDefaultCharacterSet.GetUnicode());
NS_ADDREF(aChild);
return NS_OK;

View File

@ -1211,7 +1211,7 @@ nsWebShell::AddChild(nsIWebShell* aChild)
}
mChildren.AppendElement(aChild);
aChild->SetParent(this);
aChild->SetDefaultCharacterSet(mDefaultCharacterSet);
aChild->SetDefaultCharacterSet(mDefaultCharacterSet.GetUnicode());
NS_ADDREF(aChild);
return NS_OK;