mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Add the TaskSourceName to CommonScriptMsg::Task
Update QueuedTaskConversion and the TaskQueue to use it
This commit is contained in:
committed by
AgustinCB
parent
b211e45bb0
commit
e286fdcc53
@@ -31,6 +31,7 @@ impl TaskSource for NetworkingTaskSource {
|
||||
ScriptThreadEventCategory::NetworkEvent,
|
||||
Box::new(canceller.wrap_task(task)),
|
||||
Some(self.1),
|
||||
NetworkingTaskSource::NAME,
|
||||
))
|
||||
}
|
||||
}
|
||||
@@ -46,6 +47,7 @@ impl NetworkingTaskSource {
|
||||
ScriptThreadEventCategory::NetworkEvent,
|
||||
Box::new(task),
|
||||
Some(self.1),
|
||||
NetworkingTaskSource::NAME,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user