mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
This reverts commit f2f5614ad6
.
This is causing intermittent crashes: https://github.com/servo/servo/actions/runs/11167043809/job/31044255019
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
826e31eaa5
commit
48f8ff6236
28 changed files with 799 additions and 545 deletions
|
@ -10,7 +10,7 @@ use malloc_size_of_derive::MallocSizeOf;
|
|||
use pixels::{Image, ImageMetadata};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use servo_url::{ImmutableOrigin, ServoUrl};
|
||||
use webrender_traits::CrossProcessCompositorApi;
|
||||
use webrender_traits::WebRenderNetApi;
|
||||
|
||||
use crate::request::CorsSettings;
|
||||
use crate::FetchResponseMsg;
|
||||
|
@ -99,7 +99,7 @@ pub enum ImageCacheResult {
|
|||
}
|
||||
|
||||
pub trait ImageCache: Sync + Send {
|
||||
fn new(compositor_api: CrossProcessCompositorApi) -> Self
|
||||
fn new(webrender_api: WebRenderNetApi) -> Self
|
||||
where
|
||||
Self: Sized;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue