1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:47:35 +00:00

LibJS: Remove js_string(Interpreter&, ...)

This commit is contained in:
Andreas Kling 2020-09-27 20:03:42 +02:00
parent adf0a537af
commit 591b7b7031
8 changed files with 9 additions and 16 deletions

View file

@ -51,7 +51,7 @@ String StringCell::display(Cell& cell, const CellTypeMetadata& metadata) const
JS::Value StringCell::js_value(Cell& cell, const CellTypeMetadata& metadata) const
{
auto string = display(cell, metadata);
return JS::js_string(cell.sheet->interpreter(), string);
return JS::js_string(cell.sheet->interpreter().heap(), string);
}
}