mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
script: Pass &mut JSContext to submit_timing_data (#43479)
Part of #40600 Testing: It compiles Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0336c8084b
commit
8f699b1f17
@@ -3925,7 +3925,7 @@ impl ScriptThread {
|
||||
// submit_timing will only accept timing that is of type ResourceTimingType::Resource
|
||||
let mut resource_timing = timing.clone();
|
||||
resource_timing.timing_type = ResourceTimingType::Resource;
|
||||
submit_timing(&iframe_ctx, &eof, &resource_timing, CanGc::from_cx(cx));
|
||||
submit_timing(cx, &iframe_ctx, &eof, &resource_timing);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user