mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContext
as first argument.
This commit is contained in:
parent
aa0e4f5c76
commit
6e4caf1153
3 changed files with 9 additions and 8 deletions
|
@ -47,7 +47,7 @@ fn main() {
|
|||
let mut phf = File::create(&phf).unwrap();
|
||||
write!(
|
||||
&mut phf,
|
||||
"pub static MAP: phf::Map<&'static [u8], unsafe fn(*mut JSContext, HandleObject)> = "
|
||||
"pub static MAP: phf::Map<&'static [u8], unsafe fn(JSContext, HandleObject)> = "
|
||||
)
|
||||
.unwrap();
|
||||
map.build(&mut phf).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue