mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
apply pylbrecht/servo/named.window.getter (closes #27952)
This commit is contained in:
parent
be6e25a1b2
commit
fd1de05592
16 changed files with 611 additions and 292 deletions
|
@ -526,9 +526,8 @@ impl EventTarget {
|
|||
let args = if is_error { ERROR_ARG_NAMES } else { ARG_NAMES };
|
||||
|
||||
let cx = window.get_cx();
|
||||
let options = unsafe {
|
||||
CompileOptionsWrapper::new(*cx, &handler.url.to_string(), handler.line as u32)
|
||||
};
|
||||
let options =
|
||||
unsafe { CompileOptionsWrapper::new(*cx, handler.url.as_str(), handler.line as u32) };
|
||||
|
||||
// Step 3.9, subsection Scope steps 1-6
|
||||
let scopechain = RootedObjectVectorWrapper::new(*cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue