Skip to content

Commit

Permalink
fixup! Measure layout queries blocked by ongoing layout
Browse files Browse the repository at this point in the history
  • Loading branch information
pylbrecht committed Apr 17, 2019
1 parent 858011c commit 4fd9fea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/layout_thread/lib.rs
Expand Up @@ -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,
);
}

Expand Down
3 changes: 1 addition & 2 deletions components/profile_traits/time.rs
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion components/script/script_thread.rs
Expand Up @@ -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>,
}

Expand Down

0 comments on commit 4fd9fea

Please sign in to comment.