mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue