Rename NewLayoutThreadInfo to LayoutThreadInit

Following the convention of our other init structs.
This commit is contained in:
Anthony Ramine 2019-01-10 14:05:36 +01:00
parent 2058ac0c7f
commit 17ee21bf9d
3 changed files with 6 additions and 6 deletions

View file

@ -82,7 +82,7 @@ pub enum Msg {
/// Creates a new layout thread.
///
/// This basically exists to keep the script-layout dependency one-way.
CreateLayoutThread(NewLayoutThreadInfo),
CreateLayoutThread(LayoutThreadInit),
/// Set the final Url.
SetFinalUrl(ServoUrl),
@ -214,7 +214,7 @@ pub struct ScriptReflow {
pub dom_count: u32,
}
pub struct NewLayoutThreadInfo {
pub struct LayoutThreadInit {
pub id: PipelineId,
pub url: ServoUrl,
pub is_parent: bool,