mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibHTML: Use NonnullRefPtrVector in the CSS and HTML parsers.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
NonnullRefPtr<StyleSheet> parse_css(const String& css)
|
||||
{
|
||||
Vector<NonnullRefPtr<StyleRule>> rules;
|
||||
NonnullRefPtrVector<StyleRule> rules;
|
||||
|
||||
enum class State {
|
||||
Free,
|
||||
@@ -16,7 +16,7 @@ NonnullRefPtr<StyleSheet> parse_css(const String& css)
|
||||
|
||||
struct CurrentRule {
|
||||
Vector<Selector> selectors;
|
||||
Vector<NonnullRefPtr<StyleDeclaration>> declarations;
|
||||
NonnullRefPtrVector<StyleDeclaration> declarations;
|
||||
};
|
||||
|
||||
CurrentRule current_rule;
|
||||
|
||||
Reference in New Issue
Block a user