mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +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:
		
							parent
							
								
									ab440b3e50
								
							
						
					
					
						commit
						44b64cb8b0
					
				
					 3 changed files with 14 additions and 12 deletions
				
			
		|  | @ -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() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sam Atkins
						Sam Atkins