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

LibWeb: Make SVG AttributeParser::parse_path_data() static

This is mostly a style thing, but it matches the other APIs.
This commit is contained in:
Sam Atkins 2022-02-11 19:20:24 +00:00 committed by Andreas Kling
parent ab440b3e50
commit 44b64cb8b0
3 changed files with 14 additions and 12 deletions

View file

@ -93,7 +93,7 @@ void SVGPathElement::parse_attribute(const FlyString& name, const String& value)
SVGGeometryElement::parse_attribute(name, value);
if (name == "d")
m_instructions = AttributeParser(value).parse_path_data();
m_instructions = AttributeParser::parse_path_data(value);
}
Gfx::Path& SVGPathElement::get_path()