we think the fix is in to support the original form, so back to the original form we go

git-svn-id: svn://10.0.0.236/trunk@78092 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%mozilla.org
2000-09-04 00:50:50 +00:00
parent 164173b328
commit 987c59caba
2 changed files with 2 additions and 10 deletions

View File

@@ -2951,11 +2951,7 @@ LoadXPCOMPlugin(nsIComponentManager* aComponentManager,
// To figure out the filename of the plugin, we'll need to get the
// plugin's CID, and then navigate through the XPCOM registry to
// pull out the DLL name to which the CID is registered.
nsAutoString path;
path.AppendWithConversion("software/mozilla/XPCOM/classID/");
path.AppendWithConversion(aCID);
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
// and/or why it doesn't know what a |nsPromiseConcatenation| is ... on some platforms
nsAutoString path(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/") + NS_ConvertUCS2toASCII(aCID));
nsRegistryKey cidKey;
rv = aRegistry->GetKey(nsIRegistry::Common, path.GetUnicode(), &cidKey);