diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2019-01-10 14:05:36 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2019-01-14 10:26:25 +0100 |
commit | 17ee21bf9d4200ea53d5a924c139f6c9add8b2b7 (patch) | |
tree | 0c9927e02ec5201d6db7c8f250eeefba6cb3f7a7 /components/layout_thread/lib.rs | |
parent | 2058ac0c7f9a9c2208b58688b5b692991c7416e0 (diff) | |
download | servo-17ee21bf9d4200ea53d5a924c139f6c9add8b2b7.tar.gz servo-17ee21bf9d4200ea53d5a924c139f6c9add8b2b7.zip |
Rename NewLayoutThreadInfo to LayoutThreadInit
Following the convention of our other init structs.
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r-- | components/layout_thread/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index b60838365de..47774b86ec3 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -75,7 +75,7 @@ use parking_lot::RwLock; use profile_traits::mem::{self as profile_mem, Report, ReportKind, ReportsChan}; use profile_traits::time::{self as profile_time, profile, TimerMetadata}; use profile_traits::time::{TimerMetadataFrameType, TimerMetadataReflowType}; -use script_layout_interface::message::{Msg, NewLayoutThreadInfo, NodesFromPointQueryType, Reflow}; +use script_layout_interface::message::{Msg, LayoutThreadInit, NodesFromPointQueryType, Reflow}; use script_layout_interface::message::{QueryMsg, ReflowComplete, ReflowGoal, ScriptReflow}; use script_layout_interface::rpc::TextIndexResponse; use script_layout_interface::rpc::{LayoutRPC, OffsetParentResponse, StyleResponse}; @@ -842,7 +842,7 @@ impl LayoutThread { reports_chan.send(reports); } - fn create_layout_thread(&self, info: NewLayoutThreadInfo) { + fn create_layout_thread(&self, info: LayoutThreadInit) { LayoutThread::create( info.id, self.top_level_browsing_context_id, |