mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
LibWeb+WebContent: Take advantage of IPC encoding improvements
This removes a couple of places where we were constructing strings or vectors just to transfer data over IPC. And passes some values by const& to remove clangd noise.
This commit is contained in:
parent
68947d55d9
commit
62912b985a
Notes:
github-actions[bot]
2025-03-09 15:15:48 +00:00
Author: https://github.com/trflynn89
Commit: 62912b985a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3865
11 changed files with 50 additions and 51 deletions
|
@ -115,8 +115,7 @@ void DevToolsConsoleClient::send_messages(i32 start_index)
|
|||
return;
|
||||
}
|
||||
|
||||
Vector<WebView::ConsoleOutput> messages { m_console_output.span().slice(start_index) };
|
||||
m_client->did_get_unstyled_js_console_messages(start_index, move(messages));
|
||||
m_client->did_get_unstyled_js_console_messages(start_index, m_console_output.span().slice(start_index));
|
||||
}
|
||||
|
||||
// 2.3. Printer(logLevel, args[, options]), https://console.spec.whatwg.org/#printer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue