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

@ -1776,7 +1776,7 @@ impl Runnable for PostMessageHandler {
// Step 11-12.
// TODO(#12719): set the other attributes.
MessageEvent::dispatch_jsval(window.upcast(),
GlobalRef::Window(&*window),
window.upcast(),
message.handle());
}
}