mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
Everywhere: Use URL::about_XXX factory functions
This commit is contained in:
parent
07f054e067
commit
9072a7caef
Notes:
github-actions[bot]
2025-02-15 17:06:59 +00:00
Author: https://github.com/shannonbooth
Commit: 9072a7caef
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3586
Reviewed-by: https://github.com/tcl3 ✅
18 changed files with 28 additions and 28 deletions
|
@ -63,7 +63,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
{
|
||||
WebView::platform_init();
|
||||
|
||||
auto app = Ladybird::Application::create(arguments, "about:newtab"sv);
|
||||
auto app = Ladybird::Application::create(arguments, URL::about_newtab());
|
||||
TRY(app->launch_services());
|
||||
|
||||
Core::ResourceImplementation::install(make<Core::ResourceImplementationFile>(MUST(String::from_byte_string(app->resources_folder))));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue