diff options
author | Delan Azabani <dazabani@igalia.com> | 2025-01-24 15:41:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-24 07:41:21 +0000 |
commit | 8976f2420c45e2d4c0bc8840bddd59dcd61277e1 (patch) | |
tree | 023e56b63fc0b450f79f594759d74d17fb307e94 /ports/servoshell/egl/servo_glue.rs | |
parent | b95fa5ddd6a36a92af22ea2509e4ea63e74f888b (diff) | |
download | servo-8976f2420c45e2d4c0bc8840bddd59dcd61277e1.tar.gz servo-8976f2420c45e2d4c0bc8840bddd59dcd61277e1.zip |
Remove type parameter from Servo and IOCompositor (#35121) (#35156)
* Remove type parameter from Servo and IOCompositor (#35121)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Fix compile error in libservo example
Signed-off-by: Delan Azabani <dazabani@igalia.com>
* Fix compile error in servoshell
Signed-off-by: Delan Azabani <dazabani@igalia.com>
---------
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'ports/servoshell/egl/servo_glue.rs')
-rw-r--r-- | ports/servoshell/egl/servo_glue.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/servoshell/egl/servo_glue.rs b/ports/servoshell/egl/servo_glue.rs index 77c2fda7829..4500efd5e05 100644 --- a/ports/servoshell/egl/servo_glue.rs +++ b/ports/servoshell/egl/servo_glue.rs @@ -80,7 +80,7 @@ pub struct WebView {} pub struct ServoGlue { rendering_context: SurfmanRenderingContext, - servo: Servo<ServoWindowCallbacks>, + servo: Servo, batch_mode: bool, need_present: bool, callbacks: Rc<ServoWindowCallbacks>, @@ -107,7 +107,7 @@ pub struct ServoGlue { impl ServoGlue { pub(super) fn new( rendering_context: SurfmanRenderingContext, - servo: Servo<ServoWindowCallbacks>, + servo: Servo, callbacks: Rc<ServoWindowCallbacks>, servoshell_preferences: ServoShellPreferences, ) -> Self { |