mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
Browser: Avoid ninja-import of global variable
This commit is contained in:
parent
7893871d5a
commit
84e112be6b
Notes:
sideshowbarker
2024-07-19 03:43:10 +09:00
Author: https://github.com/BenWiederhake
Commit: 84e112be6b
Pull-request: https://github.com/SerenityOS/serenity/pull/3096
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/stelar7
4 changed files with 39 additions and 3 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include "Tab.h"
|
||||
#include "BookmarksBarWidget.h"
|
||||
#include "Browser.h"
|
||||
#include "ConsoleWidget.h"
|
||||
#include "DownloadWidget.h"
|
||||
#include "InspectorWidget.h"
|
||||
|
@ -60,8 +61,6 @@
|
|||
|
||||
namespace Browser {
|
||||
|
||||
extern String g_home_url;
|
||||
|
||||
URL url_from_user_input(const String& input)
|
||||
{
|
||||
auto url = URL(input);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue