diff options
author | Abelardo E. Mendoza <abelardo22.9@gmail.com> | 2016-06-03 12:11:35 -0600 |
---|---|---|
committer | Florent FAYOLLE <florent.fayolle69@gmail.com> | 2016-11-14 11:06:17 +0100 |
commit | b372e7c98f4148eda720faf343547404e4fd8d61 (patch) | |
tree | ac3a2a1f0c476f8ad7608c5ecb3387d138fb352a /components/script/lib.rs | |
parent | 9fd6f0acd50343f5c9bf3be28d9e0a6d5abf40d6 (diff) | |
download | servo-b372e7c98f4148eda720faf343547404e4fd8d61.tar.gz servo-b372e7c98f4148eda720faf343547404e4fd8d61.zip |
script creates methods taking '*mut JSContext' unsafe
rebase + marked the necessary new code as unsafe
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index ed3283868d5..8ac3669ad88 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -173,11 +173,11 @@ pub fn init_service_workers(sw_senders: SWManagerSenders) { pub fn init() { unsafe { proxyhandler::init(); - } - // Create the global vtables used by the (generated) DOM - // bindings to implement JS proxies. - RegisterBindings::RegisterProxyHandlers(); + // Create the global vtables used by the (generated) DOM + // bindings to implement JS proxies. + RegisterBindings::RegisterProxyHandlers(); + } perform_platform_specific_initialization(); } |