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

LibWeb: Rename parse_css() -> parse_css_stylesheet()

This commit is contained in:
Sam Atkins 2022-03-29 12:42:57 +01:00 committed by Andreas Kling
parent 820a653725
commit 05bd0ca3ee
6 changed files with 7 additions and 7 deletions

View file

@ -80,7 +80,7 @@ static StyleSheet& default_stylesheet()
if (!sheet) {
extern char const default_stylesheet_source[];
String css = default_stylesheet_source;
sheet = parse_css(CSS::ParsingContext(), css).leak_ref();
sheet = parse_css_stylesheet(CSS::ParsingContext(), css).leak_ref();
}
return *sheet;
}
@ -91,7 +91,7 @@ static StyleSheet& quirks_mode_stylesheet()
if (!sheet) {
extern char const quirks_mode_stylesheet_source[];
String css = quirks_mode_stylesheet_source;
sheet = parse_css(CSS::ParsingContext(), css).leak_ref();
sheet = parse_css_stylesheet(CSS::ParsingContext(), css).leak_ref();
}
return *sheet;
}