summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSConditionRule.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-04-22 14:14:16 +0100
committerAndreas Kling <kling@serenityos.org>2022-05-11 20:16:10 +0200
commit1951873a5d7f640ad9994d7b0c21d13c2cbf78e9 (patch)
tree866b5bfb2c31621920e4f9005e0b6cdd3f35405c /Userland/Libraries/LibWeb/CSS/CSSConditionRule.h
parentcfe5d63a1e77ec264a4d78616be4865121681d5f (diff)
downloadserenity-1951873a5d7f640ad9994d7b0c21d13c2cbf78e9.zip
LibWeb: Add CSSConditionRule wrapper
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSConditionRule.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/CSSConditionRule.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSConditionRule.h b/Userland/Libraries/LibWeb/CSS/CSSConditionRule.h
index 78f58a9655..6cf61c2219 100644
--- a/Userland/Libraries/LibWeb/CSS/CSSConditionRule.h
+++ b/Userland/Libraries/LibWeb/CSS/CSSConditionRule.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
+ * Copyright (c) 2021-2022, Sam Atkins <atkinssj@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -17,7 +17,9 @@ class CSSConditionRule : public CSSGroupingRule {
AK_MAKE_NONMOVABLE(CSSConditionRule);
public:
- ~CSSConditionRule() = default;
+ using WrapperType = Bindings::CSSConditionRuleWrapper;
+
+ virtual ~CSSConditionRule() = default;
virtual String condition_text() const = 0;
virtual void set_condition_text(String) = 0;