bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -247,7 +247,7 @@ nsresult nsWebShellWindow::Initialize(nsIXULWindow* aParent,
|
||||
rv = aUrl->GetSpec(tmpStr);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
NS_ConvertUTF8toUCS2 urlString(tmpStr);
|
||||
NS_ConvertUTF8toUTF16 urlString(tmpStr);
|
||||
nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(mDocShell));
|
||||
NS_ENSURE_TRUE(webNav, NS_ERROR_FAILURE);
|
||||
rv = webNav->LoadURI(urlString.get(),
|
||||
|
||||
Reference in New Issue
Block a user