mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Passing ProfilerChan by reference to the send_profile_data method.
This commit is contained in:
parent
f740366c61
commit
60de05d77d
2 changed files with 3 additions and 3 deletions
|
@ -128,7 +128,7 @@ pub fn profile<T, F>(category: ProfilerCategory,
|
|||
|
||||
send_profile_data(category,
|
||||
meta,
|
||||
profiler_chan,
|
||||
&profiler_chan,
|
||||
start_time,
|
||||
end_time,
|
||||
start_energy,
|
||||
|
@ -138,7 +138,7 @@ pub fn profile<T, F>(category: ProfilerCategory,
|
|||
|
||||
pub fn send_profile_data(category: ProfilerCategory,
|
||||
meta: Option<TimerMetadata>,
|
||||
profiler_chan: ProfilerChan,
|
||||
profiler_chan: &ProfilerChan,
|
||||
start_time: u64,
|
||||
end_time: u64,
|
||||
start_energy: u64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue