mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 19b9f064d8eb (bug 795896) because of build bustage
This commit is contained in:
parent
00eafdea81
commit
91e8405a19
@ -5848,9 +5848,7 @@ class CGProxyUnwrap(CGAbstractMethod):
|
||||
def declare(self):
|
||||
return ""
|
||||
def definition_body(self):
|
||||
return """ MOZ_ASSERT(js::IsProxy(obj));
|
||||
if (js::GetProxyHandler(obj) != DOMProxyHandler::getInstance()) {
|
||||
MOZ_ASSERT(xpc::WrapperFactory::IsXrayWrapper(obj));
|
||||
return """ if (xpc::WrapperFactory::IsXrayWrapper(obj)) {
|
||||
obj = js::UnwrapObject(obj);
|
||||
}
|
||||
MOZ_ASSERT(IsProxy(obj));
|
||||
|
Loading…
Reference in New Issue
Block a user