mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
WebContent: Use Web::Platform::Timer instead of Core::Timer
This will allow WebContent to operate without a Core::EventLoop.
This commit is contained in:
parent
e75645bbf8
commit
f877782117
4 changed files with 6 additions and 4 deletions
|
@ -40,7 +40,7 @@ ConnectionFromClient::ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSock
|
|||
: IPC::ConnectionFromClient<WebContentClientEndpoint, WebContentServerEndpoint>(*this, move(socket), 1)
|
||||
, m_page_host(PageHost::create(*this))
|
||||
{
|
||||
m_paint_flush_timer = Core::Timer::create_single_shot(0, [this] { flush_pending_paint_requests(); });
|
||||
m_paint_flush_timer = Web::Platform::Timer::create_single_shot(0, [this] { flush_pending_paint_requests(); });
|
||||
}
|
||||
|
||||
void ConnectionFromClient::die()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue