1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

LibWeb: Remove BrowsingContext::scroll_to()

Let's use navigable directly instead of going through browsing context
to request a scroll.
This commit is contained in:
Aliaksandr Kalenik 2024-02-03 11:26:14 +01:00 committed by Andreas Kling
parent 0c92c80544
commit 7ad0767aa0
3 changed files with 2 additions and 17 deletions

View file

@ -121,8 +121,6 @@ public:
Web::EventHandler& event_handler() { return m_event_handler; }
Web::EventHandler const& event_handler() const { return m_event_handler; }
void scroll_to(CSSPixelPoint);
JS::GCPtr<BrowsingContext> top_level_browsing_context() const;
enum class WindowType {