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 :-)
This commit is contained in:
@@ -673,8 +673,8 @@ nsNativeComponentLoader::AutoUnregisterComponent(PRInt32 when,
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
(void) observerService->Notify(mgr,
|
||||
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).GetUnicode(),
|
||||
NS_ConvertASCIItoUCS2("Unregistering native component").GetUnicode());
|
||||
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).get(),
|
||||
NS_ConvertASCIItoUCS2("Unregistering native component").get());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -844,8 +844,8 @@ nsNativeComponentLoader::AutoRegisterComponent(PRInt32 when,
|
||||
statusMsg.Append(fileName);
|
||||
|
||||
(void) observerService->Notify(mgr,
|
||||
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).GetUnicode(),
|
||||
statusMsg.GetUnicode());
|
||||
NS_ConvertASCIItoUCS2(NS_XPCOM_AUTOREGISTRATION_OBSERVER_ID).get(),
|
||||
statusMsg.get());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user