aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-07-11 17:03:31 +0200
committerMs2ger <ms2ger@gmail.com>2014-07-12 15:26:36 +0200
commitfd167f892285a4815bcbdb0d58fb6f9b0a28306e (patch)
treec9f12f2139b56558cbf92fb1b611affafd460a66 /src/components/script/script_task.rs
parentf47b66b0c1a90176aa037082b38559ecbe1f67de (diff)
downloadservo-fd167f892285a4815bcbdb0d58fb6f9b0a28306e.tar.gz
servo-fd167f892285a4815bcbdb0d58fb6f9b0a28306e.zip
Store proxy handlers in a static array rather than a hashtable per window.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index c75e639be09..c584d5735f8 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -549,8 +549,7 @@ impl ScriptTask {
window.deref().init_browser_context(&*document);
with_compartment((**cx).ptr, window.reflector().get_jsobject(), || {
- let mut js_info = page.mut_js_info();
- RegisterBindings::Register(&*window, js_info.get_mut_ref());
+ RegisterBindings::Register(&*window);
});
self.compositor.set_ready_state(Loading);