mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #21614 - pyfisch:layout_traits-fmt, r=nox
Rustfmt layout_traits crate Part of #21373. This is a small PR, just one function is formatted as the layout_traits crate contains only this one trait. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21614) <!-- Reviewable:end -->
This commit is contained in:
commit
9070d4bc65
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
|
||||
pub trait LayoutThreadFactory {
|
||||
type Message;
|
||||
fn create(id: PipelineId,
|
||||
fn create(
|
||||
id: PipelineId,
|
||||
top_level_browsing_context_id: TopLevelBrowsingContextId,
|
||||
url: ServoUrl,
|
||||
is_iframe: bool,
|
||||
|
@ -52,5 +53,6 @@ pub trait LayoutThreadFactory {
|
|||
webrender_api_sender: webrender_api::RenderApiSender,
|
||||
webrender_document: webrender_api::DocumentId,
|
||||
layout_threads: usize,
|
||||
paint_time_metrics: PaintTimeMetrics);
|
||||
paint_time_metrics: PaintTimeMetrics,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue