mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:48:12 +00:00
LibCore: Convert CHttpJob to ObjectPtr
This commit is contained in:
parent
953cb4e436
commit
6b347747f2
8 changed files with 45 additions and 13 deletions
|
@ -10,9 +10,9 @@ CHttpRequest::~CHttpRequest()
|
|||
{
|
||||
}
|
||||
|
||||
CNetworkJob* CHttpRequest::schedule()
|
||||
ObjectPtr<CNetworkJob> CHttpRequest::schedule()
|
||||
{
|
||||
auto* job = new CHttpJob(*this);
|
||||
auto job = CHttpJob::construct(*this);
|
||||
job->start();
|
||||
return job;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue