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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user