Changed js_runtime to be of type *mut JSRuntime

This commit is contained in:
Keith Yeung 2015-02-21 20:01:27 +08:00
parent c7ddab2efb
commit b855bc4716
2 changed files with 5 additions and 6 deletions

View file

@ -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(..) => {}