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:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user