Fix: npruntime NPN_HasMethod forwards to wrong plugin function (hasProperty). b=467945 r/sr=jst

This commit is contained in:
Josh Aas 2009-01-15 15:20:10 -05:00
parent ede8f563d6
commit 15d1bd14a4

View File

@ -1670,7 +1670,7 @@ _hasmethod(NPP npp, NPObject* npobj, NPIdentifier methodName)
("NPN_HasMethod(npp %p, npobj %p, property %p) called\n",
npp, npobj, methodName));
return npobj->_class->hasProperty(npobj, methodName);
return npobj->_class->hasMethod(npobj, methodName);
}
bool NP_CALLBACK