1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers

Instead of passing the BufferStream, pass the Decoder. I'd like to stop
using BufferStream eventually anyway, so it's good to get it out of any
API's where it's in currently.
This commit is contained in:
Andreas Kling 2020-03-29 19:03:13 +02:00
parent 01ff36a2f4
commit 24a0354ce8
Notes: sideshowbarker 2024-07-19 08:04:04 +09:00
9 changed files with 26 additions and 19 deletions

View file

@ -31,6 +31,7 @@
#include <LibGfx/Point.h>
#include <LibGfx/Size.h>
#include <LibGfx/TextAlignment.h>
#include <LibIPC/Forward.h>
#include <stdlib.h>
namespace Gfx {
@ -337,5 +338,5 @@ const LogStream& operator<<(const LogStream&, const Rect&);
}
namespace IPC {
bool decode(BufferStream&, Gfx::Rect&);
bool decode(Decoder&, Gfx::Rect&);
}