aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorKeith Yeung <kungfukeith11@gmail.com>2015-02-21 20:01:27 +0800
committerKeith Yeung <kungfukeith11@gmail.com>2015-02-21 20:01:27 +0800
commitb855bc47169169465eafb8ec350aaca0fa73dd5d (patch)
treeb815c47cd8e4a345d86452be201fe4e1690ea691 /components/script/script_task.rs
parentc7ddab2efb84ac3a1d529a519d757ec1c333340d (diff)
downloadservo-b855bc47169169465eafb8ec350aaca0fa73dd5d.tar.gz
servo-b855bc47169169465eafb8ec350aaca0fa73dd5d.zip
Changed js_runtime to be of type *mut JSRuntime
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index 820e43c0ba7..8d407dee193 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -992,7 +992,7 @@ impl ScriptTask {
let page = get_page(&*self.page.borrow(), pipeline_id);
let frame = page.frame();
let document = frame.as_ref().unwrap().document.root();
- document.r().handle_click_event(self.js_runtime.clone(), _button, point);
+ document.r().handle_click_event(self.js_runtime.ptr, _button, point);
}
MouseDownEvent(..) => {}