aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
diff options
context:
space:
mode:
authorSudarsan <sudar.theone@gmail.com>2020-08-28 20:54:18 +0800
committerSudarsan <sudar.theone@gmail.com>2020-08-28 20:54:18 +0800
commitf8c9ee4eff1ae7a72037e16f2aa97ad6bb69da4e (patch)
treee6c9d62ef7eab4920efe4c9e7bd5d3e603ef90e1 /components/script/dom/bindings/codegen/CodegenRust.py
parent9e6da58d7793a4576fef38446457e1073a19cd5e (diff)
downloadservo-f8c9ee4eff1ae7a72037e16f2aa97ad6bb69da4e.tar.gz
servo-f8c9ee4eff1ae7a72037e16f2aa97ad6bb69da4e.zip
Update mozjs to 0.14.1
This update pulls in improvements on mozjs that now removes the need to pass pointers to CompileOptionsWraper::new(), allows NewProxyObject to now accept a Singleton bool and JSClass and removes an unsafe Handle::new usage.
Diffstat (limited to 'components/script/dom/bindings/codegen/CodegenRust.py')
-rw-r--r--components/script/dom/bindings/codegen/CodegenRust.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py
index 4d1a3972d7b..83e68cdce76 100644
--- a/components/script/dom/bindings/codegen/CodegenRust.py
+++ b/components/script/dom/bindings/codegen/CodegenRust.py
@@ -2778,6 +2778,8 @@ rooted!(in(*cx) let obj = NewProxyObject(
handler,
Handle::from_raw(UndefinedHandleValue),
proto.get(),
+ ptr::null(),
+ false,
));
assert!(!obj.is_null());
SetProxyReservedSlot(