mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Wait for actual paint before setting paint related metrics
This commit is contained in:
parent
1059ef4fde
commit
1b123400eb
16 changed files with 203 additions and 72 deletions
|
@ -124,6 +124,8 @@ pub enum LayoutControlMsg {
|
|||
/// Requests the current load state of Web fonts. `true` is returned if fonts are still loading
|
||||
/// and `false` is returned if all fonts have loaded.
|
||||
GetWebFontLoadState(IpcSender<bool>),
|
||||
/// Send the paint time for a specific epoch to the layout thread.
|
||||
PaintMetric(Epoch, f64),
|
||||
}
|
||||
|
||||
/// can be passed to `LoadUrl` to load a page with GET/POST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue