mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fix formatting.
This commit is contained in:
parent
5e5669b945
commit
9ea1399c30
4 changed files with 7 additions and 15 deletions
|
@ -17,7 +17,8 @@ impl Console {
|
|||
#[allow(unsafe_code)]
|
||||
fn send_to_devtools(global: &GlobalScope, level: LogLevel, message: DOMString) {
|
||||
if let Some(chan) = global.devtools_chan() {
|
||||
let caller = unsafe { describe_scripted_caller(*GlobalScope::get_cx()) }.unwrap_or_default();
|
||||
let caller =
|
||||
unsafe { describe_scripted_caller(*GlobalScope::get_cx()) }.unwrap_or_default();
|
||||
let console_message = ConsoleMessage {
|
||||
message: String::from(message),
|
||||
logLevel: level,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue