summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSImportRule.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSImportRule.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/CSSImportRule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSImportRule.h b/Userland/Libraries/LibWeb/CSS/CSSImportRule.h
index 6b5c3d376c..cd3cc32b81 100644
--- a/Userland/Libraries/LibWeb/CSS/CSSImportRule.h
+++ b/Userland/Libraries/LibWeb/CSS/CSSImportRule.h
@@ -18,7 +18,7 @@ class CSSImportRule : public CSSRule {
public:
static NonnullRefPtr<CSSImportRule> create(URL url)
{
- return adopt(*new CSSImportRule(move(url)));
+ return adopt_ref(*new CSSImportRule(move(url)));
}
~CSSImportRule();