зеркало из https://github.com/mozilla/gecko-dev.git
Fix AIX and gcc 2.7.2.3 bustage -- I was relying on implicit conversion to pick the right overloaded function template. Make it faster too.
This commit is contained in:
Родитель
82cd057ad7
Коммит
426c6eeb5b
|
@ -3664,12 +3664,10 @@ nsresult nsPluginHostImpl::SetUpDefaultPluginInstance(const char *aMimeType, nsI
|
|||
|
||||
mimetype = aMimeType;
|
||||
|
||||
nsCAutoString contractID(
|
||||
NS_LITERAL_CSTRING(NS_INLINE_PLUGIN_CONTRACTID_PREFIX "*"));
|
||||
|
||||
GetPluginFactory("*", getter_AddRefs(plugin));
|
||||
|
||||
result = CallCreateInstance(contractID, &instance);
|
||||
result = CallCreateInstance(NS_INLINE_PLUGIN_CONTRACTID_PREFIX "*",
|
||||
&instance);
|
||||
|
||||
// couldn't create an XPCOM plugin, try to create wrapper for a legacy plugin
|
||||
if (NS_FAILED(result))
|
||||
|
|
Загрузка…
Ссылка в новой задаче