Bug 1316164 - Remove unused/undefined NativeGetElement declaration. r=evilpie

This commit is contained in:
Tooru Fujisawa 2016-11-10 02:24:59 +09:00
parent 2a67089dc3
commit fdf5b915f2

View File

@ -1406,10 +1406,6 @@ NativeGetProperty(JSContext* cx, HandleNativeObject obj, HandleValue receiver, H
extern bool
NativeGetPropertyNoGC(JSContext* cx, NativeObject* obj, const Value& receiver, jsid id, Value* vp);
extern bool
NativeGetElement(JSContext* cx, HandleNativeObject obj, HandleValue receiver, uint32_t index,
MutableHandleValue vp);
inline bool
NativeGetProperty(JSContext* cx, HandleNativeObject obj, HandleId id, MutableHandleValue vp)
{
@ -1417,13 +1413,6 @@ NativeGetProperty(JSContext* cx, HandleNativeObject obj, HandleId id, MutableHan
return NativeGetProperty(cx, obj, receiver, id, vp);
}
inline bool
NativeGetElement(JSContext* cx, HandleNativeObject obj, uint32_t index, MutableHandleValue vp)
{
RootedValue receiver(cx, ObjectValue(*obj));
return NativeGetElement(cx, obj, receiver, index, vp);
}
bool
SetPropertyByDefining(JSContext* cx, HandleId id, HandleValue v, HandleValue receiver,
ObjectOpResult& result);