mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Everywhere: Convert from_string_view -> from_string_literal where static
This commit is contained in:
parent
37e0f7b381
commit
229b64a4b7
Notes:
github-actions[bot]
2024-09-11 09:59:55 +00:00
Author: https://github.com/asutoshvariar 🔰
Commit: 229b64a4b7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/457
26 changed files with 80 additions and 80 deletions
|
@ -509,7 +509,7 @@ void ViewImplementation::handle_web_content_process_crash()
|
|||
static ErrorOr<LexicalPath> save_screenshot(Gfx::ShareableBitmap const& bitmap)
|
||||
{
|
||||
if (!bitmap.is_valid())
|
||||
return Error::from_string_view("Failed to take a screenshot"sv);
|
||||
return Error::from_string_literal("Failed to take a screenshot");
|
||||
|
||||
auto file = Core::DateTime::now().to_byte_string("screenshot-%Y-%m-%d-%H-%M-%S.png"sv);
|
||||
auto path = TRY(Application::the().path_for_downloaded_file(file));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue