mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
script: Fix test failures.
This commit is contained in:
parent
024c4df912
commit
61e3a9545e
5 changed files with 23 additions and 14 deletions
|
@ -287,8 +287,9 @@ pub struct ScriptTask {
|
|||
incomplete_loads: DOMRefCell<Vec<InProgressLoad>>,
|
||||
/// A handle to the image cache task.
|
||||
image_cache_task: ImageCacheTask,
|
||||
/// A handle to the resource task.
|
||||
resource_task: ResourceTask,
|
||||
/// A handle to the resource task. This is an `Arc` to avoid running out of file descriptors if
|
||||
/// there are many iframes.
|
||||
resource_task: Arc<ResourceTask>,
|
||||
/// A handle to the storage task.
|
||||
storage_task: StorageTask,
|
||||
|
||||
|
@ -418,7 +419,7 @@ impl ScriptTaskFactory for ScriptTask {
|
|||
control_chan,
|
||||
control_port,
|
||||
constellation_chan,
|
||||
resource_task,
|
||||
Arc::new(resource_task),
|
||||
storage_task,
|
||||
image_cache_task,
|
||||
mem_profiler_chan.clone(),
|
||||
|
@ -504,7 +505,7 @@ impl ScriptTask {
|
|||
control_chan: ScriptControlChan,
|
||||
control_port: Receiver<ConstellationControlMsg>,
|
||||
constellation_chan: ConstellationChan,
|
||||
resource_task: ResourceTask,
|
||||
resource_task: Arc<ResourceTask>,
|
||||
storage_task: StorageTask,
|
||||
image_cache_task: ImageCacheTask,
|
||||
mem_profiler_chan: mem::ProfilerChan,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue