mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
auto merge of #2596 : Ms2ger/servo/CreateProxyHandler-transmute, r=jdm
This commit is contained in:
commit
af9da5cc24
1 changed files with 1 additions and 1 deletions
|
@ -2130,7 +2130,7 @@ class CGDefineDOMInterfaceMethod(CGAbstractMethod):
|
|||
trace: Some(%s)
|
||||
};
|
||||
js_info.dom_static.proxy_handlers.insert(PrototypeList::id::%s as uint,
|
||||
CreateProxyHandler(&traps, mem::transmute(&Class)));
|
||||
CreateProxyHandler(&traps, &Class as *_ as *_));
|
||||
|
||||
""" % (FINALIZE_HOOK_NAME,
|
||||
TRACE_HOOK_NAME,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue