mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
LibJS: Remove DeprecatedString usage from SourceCode
This change also requires updates to some users of the SourceCode interface since it no longer use DeprecatedString.
This commit is contained in:
parent
82a152b696
commit
93674e4383
6 changed files with 19 additions and 19 deletions
|
@ -4962,9 +4962,9 @@ ModuleRequest::ModuleRequest(DeprecatedFlyString module_specifier_, Vector<Asser
|
|||
});
|
||||
}
|
||||
|
||||
DeprecatedString const& SourceRange::filename() const
|
||||
DeprecatedString SourceRange::filename() const
|
||||
{
|
||||
return code->filename();
|
||||
return code->filename().to_deprecated_string();
|
||||
}
|
||||
|
||||
NonnullRefPtr<CallExpression> CallExpression::create(SourceRange source_range, NonnullRefPtr<Expression> callee, Span<Argument const> arguments)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue