diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSStyleRule.h')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/CSSStyleRule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSStyleRule.h b/Userland/Libraries/LibWeb/CSS/CSSStyleRule.h index c778df7b3b..41dce31a78 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSStyleRule.h +++ b/Userland/Libraries/LibWeb/CSS/CSSStyleRule.h @@ -21,7 +21,7 @@ class CSSStyleRule : public CSSRule { public: static NonnullRefPtr<CSSStyleRule> create(Vector<Selector>&& selectors, NonnullRefPtr<CSSStyleDeclaration>&& declaration) { - return adopt(*new CSSStyleRule(move(selectors), move(declaration))); + return adopt_ref(*new CSSStyleRule(move(selectors), move(declaration))); } ~CSSStyleRule(); |