Resolving interface name conflict in plugin sample code, not part of the build

git-svn-id: svn://10.0.0.236/trunk@128994 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
2002-09-06 21:05:53 +00:00
parent dbe9bc102f
commit e00e954dea
9 changed files with 19 additions and 19 deletions

View File

@@ -330,7 +330,7 @@ NPError nsPluginInstance::GetValue(NPPVariable aVariable, void *aValue)
switch (aVariable) {
case NPPVpluginScriptableInstance: {
// addref happens in getter, so we don't addref here
nsIScriptablePlugin * scriptablePeer = getScriptablePeer();
nsIScriptablePluginSample * scriptablePeer = getScriptablePeer();
if (scriptablePeer) {
*(nsISupports **)aValue = scriptablePeer;
} else
@@ -339,7 +339,7 @@ NPError nsPluginInstance::GetValue(NPPVariable aVariable, void *aValue)
break;
case NPPVpluginScriptableIID: {
static nsIID scriptableIID = NS_ISCRIPTABLEPLUGIN_IID;
static nsIID scriptableIID = NS_ISCRIPTABLEPLUGINSAMPLE_IID;
nsIID* ptr = (nsIID *)NPN_MemAlloc(sizeof(nsIID));
if (ptr) {
*ptr = scriptableIID;