mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Changed js_runtime to be of type *mut JSRuntime
This commit is contained in:
parent
c7ddab2efb
commit
b855bc4716
2 changed files with 5 additions and 6 deletions
|
@ -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(..) => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue