fixup! Measure layout queries blocked by ongoing layout

This commit is contained in:
pylbrecht 2019-04-17 17:23:17 +02:00
parent 858011c513
commit 4fd9fea7a6
3 changed files with 3 additions and 4 deletions

View file

@ -871,7 +871,7 @@ impl LayoutThread {
self.webrender_api.clone_sender(),
self.webrender_document,
info.paint_time_metrics,
self.busy.clone(),
info.layout_is_busy,
);
}

View file

@ -47,8 +47,7 @@ pub enum ProfilerMsg {
/// Message used to force print the profiling metrics
Print,
// TODO pylbrecht
// write meaningful docstring
/// Report a layout query that could not be processed immediately for a particular URL.
BlockedLayoutQuery(String),
/// Tells the profiler to shut down.

View file

@ -203,7 +203,7 @@ struct InProgressLoad {
navigation_start_precise: u64,
/// For cancelling the fetch
canceller: FetchCanceller,
/// Flag to indicate if the layout thread is busy handling a request.
/// Flag for sharing with the layout thread that is not yet created.
layout_is_busy: Arc<AtomicBool>,
}