diff options
Diffstat (limited to 'Ladybird')
-rw-r--r-- | Ladybird/WebContentView.cpp | 5 | ||||
-rw-r--r-- | Ladybird/WebContentView.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/Ladybird/WebContentView.cpp b/Ladybird/WebContentView.cpp index c30ba3bc4d..1daa0c3c68 100644 --- a/Ladybird/WebContentView.cpp +++ b/Ladybird/WebContentView.cpp @@ -517,11 +517,6 @@ void WebContentView::show_inspector() inspect_dom_tree(); } -void WebContentView::set_preferred_color_scheme(Web::CSS::PreferredColorScheme color_scheme) -{ - client().async_set_preferred_color_scheme(color_scheme); -} - void WebContentView::update_zoom() { client().async_set_device_pixels_per_css_pixel(m_device_pixel_ratio * m_zoom_level); diff --git a/Ladybird/WebContentView.h b/Ladybird/WebContentView.h index ee9c8b73ed..c66864a5c7 100644 --- a/Ladybird/WebContentView.h +++ b/Ladybird/WebContentView.h @@ -95,8 +95,6 @@ public: Gfx::IntPoint to_content(Gfx::IntPoint) const; Gfx::IntPoint to_widget(Gfx::IntPoint) const; - void set_preferred_color_scheme(Web::CSS::PreferredColorScheme); - virtual void notify_server_did_layout(Badge<WebContentClient>, Gfx::IntSize content_size) override; virtual void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id) override; virtual void notify_server_did_invalidate_content_rect(Badge<WebContentClient>, Gfx::IntRect const&) override; |