mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
parent
2b9590c5a5
commit
a95015b68a
3 changed files with 3 additions and 3 deletions
|
@ -100,7 +100,7 @@ fn propagate_console_msg(console: &&Console, console_message: ConsoleMessage) {
|
|||
let global = console.global.root();
|
||||
let pipelineId = global.r().pipeline();
|
||||
global.r().devtools_chan().as_ref().map(|chan| {
|
||||
chan.send(ScriptToDevtoolsControlMsg::SendConsoleMessage(
|
||||
chan.send(ScriptToDevtoolsControlMsg::ConsoleAPI(
|
||||
pipelineId, console_message.clone(), global.r().get_worker_id())).unwrap();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue