mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
Revert "LibIPC+LibWeb: Delete LargeMessageWrapper workaround in IPC…
…connection"
This reverts commit 2d625f5c23
.
This commit is contained in:
parent
3fcdbef327
commit
1ee56d34e7
Notes:
github-actions[bot]
2025-04-10 15:25:37 +00:00
Author: https://github.com/tcl3
Commit: 1ee56d34e7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4307
11 changed files with 177 additions and 23 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <LibIPC/File.h>
|
||||
#include <LibIPC/Forward.h>
|
||||
#include <LibIPC/Message.h>
|
||||
#include <LibIPC/UnprocessedFileDescriptors.h>
|
||||
#include <LibURL/Origin.h>
|
||||
#include <LibURL/URL.h>
|
||||
|
||||
|
@ -37,7 +38,7 @@ inline ErrorOr<T> decode(Decoder&)
|
|||
|
||||
class Decoder {
|
||||
public:
|
||||
Decoder(Stream& stream, Queue<File>& files)
|
||||
Decoder(Stream& stream, UnprocessedFileDescriptors& files)
|
||||
: m_stream(stream)
|
||||
, m_files(files)
|
||||
{
|
||||
|
@ -62,11 +63,11 @@ public:
|
|||
ErrorOr<size_t> decode_size();
|
||||
|
||||
Stream& stream() { return m_stream; }
|
||||
Queue<File>& files() { return m_files; }
|
||||
UnprocessedFileDescriptors& files() { return m_files; }
|
||||
|
||||
private:
|
||||
Stream& m_stream;
|
||||
Queue<File>& m_files;
|
||||
UnprocessedFileDescriptors& m_files;
|
||||
};
|
||||
|
||||
template<Arithmetic T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue