зеркало из https://github.com/mozilla/gecko-dev.git
hack to fix pravda and speedracer bustage
This commit is contained in:
Родитель
65a05bda2a
Коммит
15c68c67b7
|
@ -2951,10 +2951,7 @@ LoadXPCOMPlugin(nsIComponentManager* aComponentManager,
|
||||||
// To figure out the filename of the plugin, we'll need to get the
|
// 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
|
// plugin's CID, and then navigate through the XPCOM registry to
|
||||||
// pull out the DLL name to which the CID is registered.
|
// pull out the DLL name to which the CID is registered.
|
||||||
nsAutoString path;
|
nsAutoString path(Concat(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/"), NS_ConvertASCIItoUCS2(aCID)));
|
||||||
NS_NAMED_LITERAL_STRING(literal, "software/mozilla/XPCOM/classID/");
|
|
||||||
nsAReadableString& readable = literal;
|
|
||||||
path = readable + NS_ConvertASCIItoUCS2(aCID);
|
|
||||||
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
|
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
|
||||||
// on some platforms
|
// on some platforms
|
||||||
|
|
||||||
|
|
|
@ -2951,10 +2951,7 @@ LoadXPCOMPlugin(nsIComponentManager* aComponentManager,
|
||||||
// To figure out the filename of the plugin, we'll need to get the
|
// 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
|
// plugin's CID, and then navigate through the XPCOM registry to
|
||||||
// pull out the DLL name to which the CID is registered.
|
// pull out the DLL name to which the CID is registered.
|
||||||
nsAutoString path;
|
nsAutoString path(Concat(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/"), NS_ConvertASCIItoUCS2(aCID)));
|
||||||
NS_NAMED_LITERAL_STRING(literal, "software/mozilla/XPCOM/classID/");
|
|
||||||
nsAReadableString& readable = literal;
|
|
||||||
path = readable + NS_ConvertASCIItoUCS2(aCID);
|
|
||||||
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
|
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
|
||||||
// on some platforms
|
// on some platforms
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче