1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

LibWebView+WebContent: Make the DOM node HTML retrieval IPC async

This commit is contained in:
Timothy Flynn 2023-12-30 14:32:50 -05:00 committed by Andreas Kling
parent c190294a76
commit 93db790974
9 changed files with 24 additions and 13 deletions

View file

@ -191,9 +191,9 @@ void ViewImplementation::remove_dom_node(i32 node_id)
client().async_remove_dom_node(node_id);
}
Optional<String> ViewImplementation::get_dom_node_html(i32 node_id)
void ViewImplementation::get_dom_node_html(i32 node_id)
{
return client().get_dom_node_html(node_id);
client().async_get_dom_node_html(node_id);
}
void ViewImplementation::debug_request(ByteString const& request, ByteString const& argument)