mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
Everywhere: Use URL::about_XXX factory functions
This commit is contained in:
committed by
Tim Ledbetter
parent
07f054e067
commit
9072a7caef
@@ -422,7 +422,7 @@ GC::Ref<Document> Document::create(JS::Realm& realm, URL::URL const& url)
|
||||
|
||||
GC::Ref<Document> Document::create_for_fragment_parsing(JS::Realm& realm)
|
||||
{
|
||||
return realm.create<Document>(realm, "about:blank"sv, TemporaryDocumentForFragmentParsing::Yes);
|
||||
return realm.create<Document>(realm, URL::about_blank(), TemporaryDocumentForFragmentParsing::Yes);
|
||||
}
|
||||
|
||||
Document::Document(JS::Realm& realm, const URL::URL& url, TemporaryDocumentForFragmentParsing temporary_document_for_fragment_parsing)
|
||||
|
||||
Reference in New Issue
Block a user