mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
ran mach tidy
This commit is contained in:
parent
f8c9ee4eff
commit
4afe49d776
2 changed files with 1 additions and 3 deletions
|
@ -2594,8 +2594,7 @@ impl GlobalScope {
|
|||
rooted!(in(*cx) let mut compiled_script = std::ptr::null_mut::<JSScript>());
|
||||
match code {
|
||||
SourceCode::Text(text_code) => {
|
||||
let options =
|
||||
CompileOptionsWrapper::new(*cx, filename, line_number);
|
||||
let options = CompileOptionsWrapper::new(*cx, filename, line_number);
|
||||
|
||||
debug!("compiling dom string");
|
||||
compiled_script.set(Compile1(
|
||||
|
|
|
@ -419,7 +419,6 @@ impl ModuleTree {
|
|||
url: ServoUrl,
|
||||
options: ScriptFetchOptions,
|
||||
) -> Result<ModuleObject, RethrowError> {
|
||||
|
||||
let _ac = JSAutoRealm::new(*global.get_cx(), *global.reflector().get_jsobject());
|
||||
|
||||
let compile_options =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue