Bug 1062469 - Remove obsolete OOM check in nsNPAPIPlugin. r=bsmedberg

This commit is contained in:
John Schoenick 2014-02-25 15:54:57 -08:00
parent e7e129ecca
commit 69bc26c0a8

View File

@ -410,8 +410,6 @@ nsNPAPIPlugin::CreatePlugin(nsPluginTag *aPluginTag, nsNPAPIPlugin** aResult)
CheckClassInitialized();
nsRefPtr<nsNPAPIPlugin> plugin = new nsNPAPIPlugin();
if (!plugin)
return NS_ERROR_OUT_OF_MEMORY;
PluginLibrary* pluginLib = GetNewPluginLibrary(aPluginTag);
if (!pluginLib) {