瀏覽代碼

WebContent: Remove unnecessary greet() message

Andreas Kling 4 年之前
父節點
當前提交
67b47d62f3

+ 0 - 1
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)

+ 0 - 4
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);

+ 0 - 1
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;

+ 0 - 2
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) =|