diff --git a/Ladybird/Qt/WebContentView.cpp b/Ladybird/Qt/WebContentView.cpp index 4a902155f7d..a19c579c4a9 100644 --- a/Ladybird/Qt/WebContentView.cpp +++ b/Ladybird/Qt/WebContentView.cpp @@ -798,11 +798,6 @@ bool WebContentView::event(QEvent* event) return QAbstractScrollArea::event(event); } -ErrorOr WebContentView::dump_layout_tree() -{ - return String::from_byte_string(client().dump_layout_tree(m_client_state.page_index)); -} - void WebContentView::enqueue_native_event(Web::MouseEvent::Type type, QSinglePointEvent const& event) { Web::DevicePixelPoint position = { event.position().x() * m_device_pixel_ratio, event.position().y() * m_device_pixel_ratio }; diff --git a/Ladybird/Qt/WebContentView.h b/Ladybird/Qt/WebContentView.h index 7709cf534dc..9aa75b670c0 100644 --- a/Ladybird/Qt/WebContentView.h +++ b/Ladybird/Qt/WebContentView.h @@ -72,8 +72,6 @@ public: virtual void focusOutEvent(QFocusEvent*) override; virtual bool event(QEvent*) override; - ErrorOr dump_layout_tree(); - void set_viewport_rect(Gfx::IntRect); void set_window_size(Gfx::IntSize); void set_window_position(Gfx::IntPoint);