Passing ProfilerChan by reference to the send_profile_data method.

This commit is contained in:
Jeremy Lempereur 2017-06-17 14:33:54 +02:00
parent f740366c61
commit 60de05d77d
2 changed files with 3 additions and 3 deletions

View file

@ -1253,7 +1253,7 @@ impl LayoutThread {
(self.layout_threads as u64);
time::send_profile_data(time::ProfilerCategory::LayoutTextShaping,
self.profiler_metadata(),
self.time_profiler_chan.clone(),
&self.time_profiler_chan,
0,
text_shaping_time,
0,