aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorAbelardo E. Mendoza <abelardo22.9@gmail.com>2016-06-03 12:11:35 -0600
committerFlorent FAYOLLE <florent.fayolle69@gmail.com>2016-11-14 11:06:17 +0100
commitb372e7c98f4148eda720faf343547404e4fd8d61 (patch)
treeac3a2a1f0c476f8ad7608c5ecb3387d138fb352a /components/script/lib.rs
parent9fd6f0acd50343f5c9bf3be28d9e0a6d5abf40d6 (diff)
downloadservo-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.rs8
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();
}