903389 - Fix uses of ClassMethodIsNative.

This commit is contained in:
Gaming4JC 2019-06-08 17:11:49 -04:00 • committed by Roy Tam
commit 2391e18681
8 changed files with 73 additions and 71 deletions

View file

@ -1470,19 +1470,6 @@ NativeGetExistingProperty(JSContext* cx, HandleObject receiver, HandleNativeObje
/* * */
/*
* If obj has an already-resolved data property for id, return true and
* store the property value in *vp.
*/
extern bool
HasDataProperty(JSContext* cx, NativeObject* obj, jsid id, Value* vp);
inline bool
HasDataProperty(JSContext* cx, NativeObject* obj, PropertyName* name, Value* vp)
{
return HasDataProperty(cx, obj, NameToId(name), vp);
}
extern bool
GetPropertyForNameLookup(JSContext* cx, HandleObject obj, HandleId id, MutableHandleValue vp);