mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Rustfmt layout_traits crate
This commit is contained in:
parent
41a2010ee7
commit
7566906f34
1 changed files with 19 additions and 17 deletions
|
@ -36,7 +36,8 @@ use std::sync::mpsc::{Receiver, Sender};
|
||||||
// Here to remove the compositor -> layout dependency
|
// Here to remove the compositor -> layout dependency
|
||||||
pub trait LayoutThreadFactory {
|
pub trait LayoutThreadFactory {
|
||||||
type Message;
|
type Message;
|
||||||
fn create(id: PipelineId,
|
fn create(
|
||||||
|
id: PipelineId,
|
||||||
top_level_browsing_context_id: TopLevelBrowsingContextId,
|
top_level_browsing_context_id: TopLevelBrowsingContextId,
|
||||||
url: ServoUrl,
|
url: ServoUrl,
|
||||||
is_iframe: bool,
|
is_iframe: bool,
|
||||||
|
@ -52,5 +53,6 @@ pub trait LayoutThreadFactory {
|
||||||
webrender_api_sender: webrender_api::RenderApiSender,
|
webrender_api_sender: webrender_api::RenderApiSender,
|
||||||
webrender_document: webrender_api::DocumentId,
|
webrender_document: webrender_api::DocumentId,
|
||||||
layout_threads: usize,
|
layout_threads: usize,
|
||||||
paint_time_metrics: PaintTimeMetrics);
|
paint_time_metrics: PaintTimeMetrics,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue