Make dispatch_jsval methods take a &GlobalScope

This commit is contained in:
Anthony Ramine 2016-10-01 21:17:46 +02:00
parent b3393fba18
commit 20bacbf42e
7 changed files with 16 additions and 19 deletions

View file

@ -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,