Bug 670079: Stop caching plugin instances. We don't ever want to restart instances. r=jst

This commit is contained in:
Josh Aas
2011-07-08 12:39:22 -04:00
parent 40a5767191
commit 09091a7ba6
5 changed files with 12 additions and 182 deletions

View File

@@ -2300,8 +2300,9 @@ _setvalue(NPP npp, NPPVariable variable, void *result)
}
case NPPVpluginKeepLibraryInMemory: {
NPBool bCached = (result != nsnull);
return inst->SetCached(bCached);
// This variable is not supported any more but we'll pretend it is
// so that plugins don't fail on an error return.
return NS_OK;
}
case NPPVpluginUsesDOMForCursorBool: {