1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

LibWeb: Break friendship between CSS Function and Parser

Again, this means deviating from the spec by creating a complete
Function in one go instead of creating it empty and then poking at its
internals.
This commit is contained in:
Sam Atkins 2022-04-12 16:44:02 +01:00 committed by Andreas Kling
parent 7d67e428a6
commit d67e817d8e
4 changed files with 14 additions and 14 deletions

View file

@ -10,11 +10,6 @@
namespace Web::CSS::Parser {
Function::Function(FlyString name)
: m_name(move(name))
{
}
Function::Function(FlyString name, Vector<ComponentValue>&& values)
: m_name(move(name))
, m_values(move(values))