mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Bug 1316164
- Remove unused/undefined NativeGetElement declaration. r=evilpie
This commit is contained in:
parent
2a67089dc3
commit
fdf5b915f2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user