mirror of
https://github.com/servo/servo.git
synced 2025-09-05 20:48:22 +01:00
Make the global options more resilient to unit tests running in parallel.
This commit is contained in:
parent
cb52cc6658
commit
fecb2e3960
7 changed files with 52 additions and 40 deletions
|
@ -76,7 +76,7 @@ pub extern "C" fn cef_initialize(args: *const cef_main_args_t,
|
|||
temp_opts.enable_canvas_antialiasing = true;
|
||||
temp_opts.resources_path = None;
|
||||
temp_opts.url = None;
|
||||
opts::set(temp_opts);
|
||||
opts::set_defaults(temp_opts);
|
||||
|
||||
if unsafe { (*settings).windowless_rendering_enabled != 0 } {
|
||||
init_window();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue