Clean up arguments passed to ScriptThread

This commit is contained in:
Martin Robinson 2023-05-01 14:08:32 +02:00
parent 040816b78d
commit 0a3797d130
3 changed files with 14 additions and 61 deletions

View file

@ -700,15 +700,6 @@ pub trait ScriptThreadFactory {
fn create(
state: InitialScriptState,
load_data: LoadData,
profile_script_events: bool,
print_pwm: bool,
relayout_event: bool,
prepare_for_screenshot: bool,
unminify_js: bool,
local_script_source: Option<String>,
userscripts_path: Option<String>,
headless: bool,
replace_surrogates: bool,
user_agent: Cow<'static, str>,
) -> (Sender<Self::Message>, Receiver<Self::Message>);
}