mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb: Avoid unnecessary copies in CSS Parser
This commit is contained in:
parent
a211c06e99
commit
c64a5ccf29
Notes:
sideshowbarker
2024-07-17 06:44:05 +09:00
Author: https://github.com/AtkinsSJ
Commit: c64a5ccf29
Pull-request: https://github.com/SerenityOS/serenity/pull/15187
2 changed files with 3 additions and 3 deletions
|
@ -240,7 +240,7 @@ private:
|
|||
Vector<FontFace::Source> parse_font_face_src(TokenStream<ComponentValue>&);
|
||||
|
||||
CSSRule* convert_to_rule(NonnullRefPtr<Rule>);
|
||||
PropertyOwningCSSStyleDeclaration* convert_to_style_declaration(Vector<DeclarationOrAtRule> declarations);
|
||||
PropertyOwningCSSStyleDeclaration* convert_to_style_declaration(Vector<DeclarationOrAtRule> const& declarations);
|
||||
Optional<StyleProperty> convert_to_style_property(Declaration const&);
|
||||
|
||||
class Dimension {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue