mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +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>());
|
rooted!(in(*cx) let mut compiled_script = std::ptr::null_mut::<JSScript>());
|
||||||
match code {
|
match code {
|
||||||
SourceCode::Text(text_code) => {
|
SourceCode::Text(text_code) => {
|
||||||
let options =
|
let options = CompileOptionsWrapper::new(*cx, filename, line_number);
|
||||||
CompileOptionsWrapper::new(*cx, filename, line_number);
|
|
||||||
|
|
||||||
debug!("compiling dom string");
|
debug!("compiling dom string");
|
||||||
compiled_script.set(Compile1(
|
compiled_script.set(Compile1(
|
||||||
|
|
|
@ -419,7 +419,6 @@ impl ModuleTree {
|
||||||
url: ServoUrl,
|
url: ServoUrl,
|
||||||
options: ScriptFetchOptions,
|
options: ScriptFetchOptions,
|
||||||
) -> Result<ModuleObject, RethrowError> {
|
) -> Result<ModuleObject, RethrowError> {
|
||||||
|
|
||||||
let _ac = JSAutoRealm::new(*global.get_cx(), *global.reflector().get_jsobject());
|
let _ac = JSAutoRealm::new(*global.get_cx(), *global.reflector().get_jsobject());
|
||||||
|
|
||||||
let compile_options =
|
let compile_options =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue