Bug 159646 -- taking care of stale pointer in the plugin sample code, not part of the build

git-svn-id: svn://10.0.0.236/trunk@126581 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
2002-08-07 02:46:43 +00:00
parent c94631fb82
commit 7e4a776640
14 changed files with 53 additions and 20 deletions

View File

@@ -107,6 +107,11 @@ NS_IMETHODIMP nsScriptablePeer::QueryInterface(const nsIID& aIID, void** aInstan
return NS_NOINTERFACE;
}
void nsScriptablePeer::SetInstance(nsPluginInstance* plugin)
{
mPlugin = plugin;
}
//
// the following methods will be callable from JavaScript
//