Bug 1333887 - Hold nsNPAPIPlugin alive for active nsNPAPIPluginInstance objects. This should happen through the plugin tag, but apparently that isn't always working. r=qdot

This commit is contained in:
Benjamin Smedberg
2017-02-14 09:10:31 -05:00
parent 16bd8ba126
commit e374ae7f52
3 changed files with 9 additions and 7 deletions

View File

@@ -210,8 +210,6 @@ static void CheckClassInitialized()
NPN_PLUGIN_LOG(PLUGIN_LOG_NORMAL,("NPN callbacks initialized\n"));
}
NS_IMPL_ISUPPORTS0(nsNPAPIPlugin)
nsNPAPIPlugin::nsNPAPIPlugin()
{
memset((void*)&mPluginFuncs, 0, sizeof(mPluginFuncs));