summaryrefslogtreecommitdiff
path: root/Userland/Services/ImageDecoder
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/ImageDecoder')
-rw-r--r--Userland/Services/ImageDecoder/ClientConnection.cpp5
-rw-r--r--Userland/Services/ImageDecoder/ImageDecoderServer.ipc2
2 files changed, 3 insertions, 4 deletions
diff --git a/Userland/Services/ImageDecoder/ClientConnection.cpp b/Userland/Services/ImageDecoder/ClientConnection.cpp
index db8d663e2b..97fd11eb2f 100644
--- a/Userland/Services/ImageDecoder/ClientConnection.cpp
+++ b/Userland/Services/ImageDecoder/ClientConnection.cpp
@@ -51,10 +51,9 @@ void ClientConnection::die()
exit(0);
}
-OwnPtr<Messages::ImageDecoderServer::GreetResponse> ClientConnection::handle(const Messages::ImageDecoderServer::Greet& message)
+OwnPtr<Messages::ImageDecoderServer::GreetResponse> ClientConnection::handle(const Messages::ImageDecoderServer::Greet&)
{
- set_client_pid(message.client_pid());
- return make<Messages::ImageDecoderServer::GreetResponse>(client_id(), getpid());
+ return make<Messages::ImageDecoderServer::GreetResponse>(client_id());
}
OwnPtr<Messages::ImageDecoderServer::DecodeImageResponse> ClientConnection::handle(const Messages::ImageDecoderServer::DecodeImage& message)
diff --git a/Userland/Services/ImageDecoder/ImageDecoderServer.ipc b/Userland/Services/ImageDecoder/ImageDecoderServer.ipc
index 64ebc04b26..c8d393ad4d 100644
--- a/Userland/Services/ImageDecoder/ImageDecoderServer.ipc
+++ b/Userland/Services/ImageDecoder/ImageDecoderServer.ipc
@@ -1,6 +1,6 @@
endpoint ImageDecoderServer = 7001
{
- Greet(i32 client_pid) => (i32 client_id, i32 server_pid)
+ Greet() => (i32 client_id)
DecodeImage(Core::AnonymousBuffer data) => (bool is_animated, u32 loop_count, Vector<Gfx::ShareableBitmap> bitmaps, Vector<u32> durations)
}