Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things. nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-) git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4128,7 +4128,7 @@ LoadXPCOMPlugin(nsIComponentManager* aComponentManager,
|
||||
nsAutoString path(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/") + NS_ConvertASCIItoUCS2(aCID));
|
||||
|
||||
nsRegistryKey cidKey;
|
||||
rv = aRegistry->GetKey(nsIRegistry::Common, path.GetUnicode(), &cidKey);
|
||||
rv = aRegistry->GetKey(nsIRegistry::Common, path.get(), &cidKey);
|
||||
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
PRUint8* library;
|
||||
|
||||
@@ -1040,7 +1040,7 @@ NS_IMETHODIMP pluginInstanceOwner :: GetURL(const char *aURL, const char *aTarge
|
||||
|
||||
if (NS_OK == rv) {
|
||||
nsAutoString unitarget; unitarget.AssignWithConversion(aTarget);
|
||||
rv = lh->OnLinkClick(nsnull, eLinkVerb_Replace, fullurl.GetUnicode(), unitarget.GetUnicode(), nsnull);
|
||||
rv = lh->OnLinkClick(nsnull, eLinkVerb_Replace, fullurl.get(), unitarget.get(), nsnull);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1078,7 +1078,7 @@ NS_IMETHODIMP pluginInstanceOwner :: ShowStatus(const char *aStatusMsg)
|
||||
if(browserChrome)
|
||||
{
|
||||
nsAutoString msg; msg.AssignWithConversion(aStatusMsg);
|
||||
browserChrome->SetStatus(nsIWebBrowserChrome::STATUS_SCRIPT, msg.GetUnicode());
|
||||
browserChrome->SetStatus(nsIWebBrowserChrome::STATUS_SCRIPT, msg.get());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user