mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +00:00
Everywhere: Pass AK::ReadonlyBytes by value
This commit is contained in:
parent
8b1108e485
commit
80d4e830a0
42 changed files with 96 additions and 96 deletions
|
@ -34,7 +34,7 @@ String OutlineItem::to_string(int indent) const
|
|||
return builder.to_string();
|
||||
}
|
||||
|
||||
RefPtr<Document> Document::create(ReadonlyBytes const& bytes)
|
||||
RefPtr<Document> Document::create(ReadonlyBytes bytes)
|
||||
{
|
||||
auto parser = adopt_ref(*new Parser({}, bytes));
|
||||
auto document = adopt_ref(*new Document(parser));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue