Browse Source

LibWeb: Remove unused `Page::load(LoadRequest&)`

Aliaksandr Kalenik 1 year ago
parent
commit
7dd01b245b
2 changed files with 0 additions and 5 deletions
  1. 0 4
      Userland/Libraries/LibWeb/Page/Page.cpp
  2. 0 1
      Userland/Libraries/LibWeb/Page/Page.h

+ 0 - 4
Userland/Libraries/LibWeb/Page/Page.cpp

@@ -47,10 +47,6 @@ void Page::load(const AK::URL& url)
     (void)top_level_traversable()->navigate(url, *top_level_traversable()->active_document());
 }
 
-void Page::load(LoadRequest&)
-{
-}
-
 void Page::load_html(StringView html, const AK::URL& url)
 {
     (void)top_level_traversable()->navigate(url, *top_level_traversable()->active_document(), String::from_utf8(html).release_value_but_fixme_should_propagate_errors());

+ 0 - 1
Userland/Libraries/LibWeb/Page/Page.h

@@ -59,7 +59,6 @@ public:
     void set_focused_browsing_context(Badge<EventHandler>, HTML::BrowsingContext&);
 
     void load(const AK::URL&);
-    void load(LoadRequest&);
 
     void load_html(StringView, const AK::URL&);