LibWeb: Fix typo in SVG attribute parser method name

This commit is contained in:
Tim Ledbetter 2024-03-19 23:45:34 +00:00 committed by Andreas Kling
parent c1b1233575
commit a55394c383
Notes: sideshowbarker 2024-07-17 18:13:59 +09:00
2 changed files with 3 additions and 3 deletions

View File

@ -262,7 +262,7 @@ void AttributeParser::parse_elliptical_arc()
parse_whitespace();
while (true) {
m_instructions.append({ PathInstructionType::EllipticalArc, absolute, parse_elliptical_arg_argument() });
m_instructions.append({ PathInstructionType::EllipticalArc, absolute, parse_elliptical_arc_argument() });
if (match_comma_whitespace())
parse_comma_whitespace();
if (!match_coordinate())
@ -342,7 +342,7 @@ Vector<float> AttributeParser::parse_coordinate_pair_triplet()
return coordinates;
}
Vector<float> AttributeParser::parse_elliptical_arg_argument()
Vector<float> AttributeParser::parse_elliptical_arc_argument()
{
Vector<float> numbers;
numbers.append(parse_number());

View File

@ -180,7 +180,7 @@ private:
Vector<Vector<float>> parse_coordinate_pair_sequence();
Vector<float> parse_coordinate_pair_double();
Vector<float> parse_coordinate_pair_triplet();
Vector<float> parse_elliptical_arg_argument();
Vector<float> parse_elliptical_arc_argument();
void parse_whitespace(bool must_match_once = false);
void parse_comma_whitespace();
float parse_number();