From 67b47d62f32581ba2b3829fa4dcedaaa70a7bd07 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 23 May 2021 09:24:16 +0200 Subject: [PATCH] WebContent: Remove unnecessary greet() message --- Userland/Libraries/LibWeb/WebContentClient.cpp | 1 - Userland/Services/WebContent/ClientConnection.cpp | 4 ---- Userland/Services/WebContent/ClientConnection.h | 1 - Userland/Services/WebContent/WebContentServer.ipc | 2 -- 4 files changed, 8 deletions(-) diff --git a/Userland/Libraries/LibWeb/WebContentClient.cpp b/Userland/Libraries/LibWeb/WebContentClient.cpp index bd150c75b5..f139dc599b 100644 --- a/Userland/Libraries/LibWeb/WebContentClient.cpp +++ b/Userland/Libraries/LibWeb/WebContentClient.cpp @@ -26,7 +26,6 @@ void WebContentClient::die() void WebContentClient::handshake() { - greet(); } void WebContentClient::did_paint(const Gfx::IntRect&, i32 bitmap_id) diff --git a/Userland/Services/WebContent/ClientConnection.cpp b/Userland/Services/WebContent/ClientConnection.cpp index 87289fe07a..899273b622 100644 --- a/Userland/Services/WebContent/ClientConnection.cpp +++ b/Userland/Services/WebContent/ClientConnection.cpp @@ -59,10 +59,6 @@ const Web::Page& ClientConnection::page() const return m_page_host->page(); } -void ClientConnection::greet() -{ -} - void ClientConnection::update_system_theme(const Core::AnonymousBuffer& theme_buffer) { Gfx::set_system_theme(theme_buffer); diff --git a/Userland/Services/WebContent/ClientConnection.h b/Userland/Services/WebContent/ClientConnection.h index 2fd7642bb5..596b3ade28 100644 --- a/Userland/Services/WebContent/ClientConnection.h +++ b/Userland/Services/WebContent/ClientConnection.h @@ -32,7 +32,6 @@ private: Web::Page& page(); const Web::Page& page() const; - virtual void greet() override; virtual void update_system_theme(Core::AnonymousBuffer const&) override; virtual void update_system_fonts(String const&, String const&) override; virtual void update_screen_rect(Gfx::IntRect const&) override; diff --git a/Userland/Services/WebContent/WebContentServer.ipc b/Userland/Services/WebContent/WebContentServer.ipc index f144dd8c7d..375cbfd078 100644 --- a/Userland/Services/WebContent/WebContentServer.ipc +++ b/Userland/Services/WebContent/WebContentServer.ipc @@ -1,7 +1,5 @@ endpoint WebContentServer { - greet() => () - update_system_theme(Core::AnonymousBuffer theme_buffer) =| update_system_fonts(String default_font_query, String fixed_width_font_query) =| update_screen_rect(Gfx::IntRect rect) =|