diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2017-07-26 20:24:42 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2017-08-22 14:36:06 +0200 |
commit | 1b123400eb70fa4710f21caab8d716396beacfb0 (patch) | |
tree | 0877501cf09f0f210b6248bd53c82bdf35b6a665 /components/script_traits/lib.rs | |
parent | 1059ef4fdeb5c76102c3da22293d836942740033 (diff) | |
download | servo-1b123400eb70fa4710f21caab8d716396beacfb0.tar.gz servo-1b123400eb70fa4710f21caab8d716396beacfb0.zip |
Wait for actual paint before setting paint related metrics
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 4a197e759ff..3b5a47a3ef7 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -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 |