diff options
author | Philipp Albrecht <palbrecht@mailbox.org> | 2019-03-25 22:39:41 +0100 |
---|---|---|
committer | pylbrecht <palbrecht@mailbox.org> | 2019-04-13 07:42:07 +0200 |
commit | 858011c5132d647c0718a2801279222652004a3b (patch) | |
tree | dabb9c3c2f218e1f37728896493f9fd204f5f461 /components/layout_traits/lib.rs | |
parent | a74f5222db7f7f39e426cd0b8836f5b806730ef7 (diff) | |
download | servo-858011c5132d647c0718a2801279222652004a3b.tar.gz servo-858011c5132d647c0718a2801279222652004a3b.zip |
Measure layout queries blocked by ongoing layout
Diffstat (limited to 'components/layout_traits/lib.rs')
-rw-r--r-- | components/layout_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout_traits/lib.rs b/components/layout_traits/lib.rs index a1f33bdf827..ec248241c1a 100644 --- a/components/layout_traits/lib.rs +++ b/components/layout_traits/lib.rs @@ -20,6 +20,7 @@ use profile_traits::{mem, time}; use script_traits::LayoutMsg as ConstellationMsg; use script_traits::{ConstellationControlMsg, LayoutControlMsg}; use servo_url::ServoUrl; +use std::sync::atomic::AtomicBool; use std::sync::Arc; // A static method creating a layout thread @@ -44,5 +45,6 @@ pub trait LayoutThreadFactory { webrender_api_sender: webrender_api::RenderApiSender, webrender_document: webrender_api::DocumentId, paint_time_metrics: PaintTimeMetrics, + busy: Arc<AtomicBool>, ); } |