mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Rename parse_css()
-> parse_css_stylesheet()
This commit is contained in:
parent
820a653725
commit
05bd0ca3ee
Notes:
sideshowbarker
2024-07-18 05:37:06 +09:00
Author: https://github.com/AtkinsSJ
Commit: 05bd0ca3ee
Pull-request: https://github.com/SerenityOS/serenity/pull/13361
6 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue