mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
This commit is contained in:
parent
bc319d9e88
commit
d6abfbdc5a
Notes:
sideshowbarker
2024-07-19 12:00:45 +09:00
Author: https://github.com/awesomekling
Commit: d6abfbdc5a
71 changed files with 146 additions and 156 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
#include <AK/URL.h>
|
||||
#include <LibCore/ObjectPtr.h>
|
||||
|
||||
class CNetworkJob;
|
||||
|
||||
|
@ -27,7 +26,7 @@ public:
|
|||
String method_name() const;
|
||||
ByteBuffer to_raw_request() const;
|
||||
|
||||
ObjectPtr<CNetworkJob> schedule();
|
||||
RefPtr<CNetworkJob> schedule();
|
||||
|
||||
private:
|
||||
URL m_url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue