mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
AK: Port URL scheme from DeprecatedString to String
This commit is contained in:
committed by
Andrew Kaster
parent
21fe86d235
commit
c25485700a
@@ -486,7 +486,7 @@ void MainWidget::drop_event(GUI::DropEvent& drop_event)
|
||||
|
||||
for (auto& url : urls) {
|
||||
auto& scheme = url.scheme();
|
||||
if (!scheme.equals_ignoring_ascii_case("file"sv))
|
||||
if (!scheme.bytes_as_string_view().equals_ignoring_ascii_case("file"sv))
|
||||
continue;
|
||||
|
||||
auto lexical_path = LexicalPath(url.serialize_path());
|
||||
|
||||
Reference in New Issue
Block a user