diff options
Diffstat (limited to 'Applications/Browser')
-rw-r--r-- | Applications/Browser/Tab.cpp | 3 | ||||
-rw-r--r-- | Applications/Browser/main.cpp | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/Applications/Browser/Tab.cpp b/Applications/Browser/Tab.cpp index 0e6e9a8423..87ecdb272f 100644 --- a/Applications/Browser/Tab.cpp +++ b/Applications/Browser/Tab.cpp @@ -59,7 +59,6 @@ namespace Browser { -extern bool g_use_old_html_parser; extern String g_home_url; URL url_from_user_input(const String& input) @@ -83,8 +82,6 @@ Tab::Tab() auto& toolbar = m_toolbar_container->add<GUI::ToolBar>(); m_page_view = widget.add<Web::PageView>(); - m_page_view->set_use_old_parser(g_use_old_html_parser); - m_go_back_action = GUI::CommonActions::make_go_back_action([this](auto&) { m_history.go_back(); update_actions(); diff --git a/Applications/Browser/main.cpp b/Applications/Browser/main.cpp index 9982276ebf..cfe6f3e202 100644 --- a/Applications/Browser/main.cpp +++ b/Applications/Browser/main.cpp @@ -46,7 +46,6 @@ namespace Browser { static const char* bookmarks_filename = "/home/anon/bookmarks.json"; String g_home_url; -bool g_use_old_html_parser = false; URL url_from_user_input(const String& input); } @@ -66,7 +65,6 @@ int main(int argc, char** argv) const char* specified_url = nullptr; Core::ArgsParser args_parser; - args_parser.add_option(Browser::g_use_old_html_parser, "Use old HTML parser", "old-parser", 'O'); args_parser.add_positional_argument(specified_url, "URL to open", "url", Core::ArgsParser::Required::No); args_parser.parse(argc, argv); |