mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Extract user_agent from global opts
This commit is contained in:
parent
50ea9fc02d
commit
2c306227e9
9 changed files with 108 additions and 75 deletions
|
@ -235,7 +235,7 @@ pub fn init(
|
|||
gl: gl.clone(),
|
||||
});
|
||||
|
||||
let servo = Servo::new(embedder_callbacks, window_callbacks.clone());
|
||||
let servo = Servo::new(embedder_callbacks, window_callbacks.clone(), None);
|
||||
|
||||
SERVO.with(|s| {
|
||||
let mut servo_glue = ServoGlue {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue