mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Make dispatch_jsval methods take a &GlobalScope
This commit is contained in:
parent
b3393fba18
commit
20bacbf42e
7 changed files with 16 additions and 19 deletions
|
@ -81,10 +81,10 @@ impl MessageEvent {
|
|||
|
||||
impl MessageEvent {
|
||||
pub fn dispatch_jsval(target: &EventTarget,
|
||||
scope: GlobalRef,
|
||||
scope: &GlobalScope,
|
||||
message: HandleValue) {
|
||||
let messageevent = MessageEvent::new(
|
||||
scope.as_global_scope(),
|
||||
scope,
|
||||
atom!("message"),
|
||||
false,
|
||||
false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue