mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 8ac7fa583164 (bug 975042)
This commit is contained in:
parent
9f94fcc80e
commit
ba5d2ea41e
@ -344,15 +344,7 @@ public:
|
||||
JS::HandleObject target,
|
||||
JS::MutableHandleObject protop)
|
||||
{
|
||||
RootedObject holder(cx, ensureHolder(cx, wrapper));
|
||||
JSProtoKey key = isPrototype(holder) ? JSProto_Object
|
||||
: getProtoKey(holder);
|
||||
{
|
||||
JSAutoCompartment ac(cx, target);
|
||||
if (!JS_GetClassPrototype(cx, key, protop))
|
||||
return nullptr;
|
||||
}
|
||||
return JS_WrapObject(cx, protop);
|
||||
MOZ_ASSUME_UNREACHABLE("Not yet implemented");
|
||||
}
|
||||
|
||||
virtual void preserveWrapper(JSObject *target) {
|
||||
|
Loading…
Reference in New Issue
Block a user