diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-09-06 17:11:36 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-09-06 17:15:53 +0200 |
commit | e9f7079c7066f032ba94a91317f4aa012e18d94c (patch) | |
tree | 4984479566176a34455ce4b01a7bb58c4a7b18e1 /components/metrics | |
parent | 526619a78aa88944e917ab97c0f969eceea3ebc7 (diff) | |
download | servo-e9f7079c7066f032ba94a91317f4aa012e18d94c.tar.gz servo-e9f7079c7066f032ba94a91317f4aa012e18d94c.zip |
Replace DisplayList::is_contentful with tracking during conversion to WR display lists
Diffstat (limited to 'components/metrics')
-rw-r--r-- | components/metrics/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/metrics/lib.rs b/components/metrics/lib.rs index bfe4ad831c0..1165c8f45ca 100644 --- a/components/metrics/lib.rs +++ b/components/metrics/lib.rs @@ -7,7 +7,7 @@ extern crate log; #[macro_use] extern crate malloc_size_of_derive; -use gfx_traits::{DisplayList, Epoch}; +use gfx_traits::Epoch; use ipc_channel::ipc::IpcSender; use msg::constellation_msg::PipelineId; use profile_traits::time::TimerMetadata; @@ -306,7 +306,7 @@ impl PaintTimeMetrics { &self, profiler_metadata_factory: &T, epoch: Epoch, - display_list: &dyn DisplayList, + display_list_is_contentful: bool, ) where T: ProfilerMetadataFactory, { @@ -319,7 +319,7 @@ impl PaintTimeMetrics { epoch, ( profiler_metadata_factory.new_metadata(), - display_list.is_contentful(), + display_list_is_contentful, ), ); |