mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
LibCore+LibIPC: Remove badge on File::leak_fd
This removes a dependency on LibIPC from LibCore.
This commit is contained in:
parent
d06809dee6
commit
18f28f398b
Notes:
github-actions[bot]
2025-06-14 20:04:46 +00:00
Author: https://github.com/rmg-x
Commit: 18f28f398b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5084
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/trflynn89
3 changed files with 3 additions and 6 deletions
|
@ -22,7 +22,7 @@ public:
|
|||
|
||||
static File adopt_file(NonnullOwnPtr<Core::File> file)
|
||||
{
|
||||
return File(file->leak_fd(Badge<File> {}));
|
||||
return File(file->leak_fd());
|
||||
}
|
||||
|
||||
static File adopt_fd(int fd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue