summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-21 11:30:13 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-21 12:33:15 +0200
commit3e4fffec265ba0f725ee4e113e463c252a2dea9a (patch)
treefa4efcded4b4ab8ecfb5d61857330c291f05eee2 /Userland/Libraries/LibWeb/DOM
parent56710fab34d0bb9786d8dc2abd414d886e8f3ee6 (diff)
downloadserenity-3e4fffec265ba0f725ee4e113e463c252a2dea9a.zip
LibWeb: Make DOM::Element::resolve_custom_property() const
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Element.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Element.h b/Userland/Libraries/LibWeb/DOM/Element.h
index e1eb9369e4..6ce4597c32 100644
--- a/Userland/Libraries/LibWeb/DOM/Element.h
+++ b/Userland/Libraries/LibWeb/DOM/Element.h
@@ -96,7 +96,7 @@ public:
const ShadowRoot* shadow_root() const { return m_shadow_root; }
void set_shadow_root(RefPtr<ShadowRoot>);
- Optional<CSS::StyleResolver::CustomPropertyResolutionTuple> resolve_custom_property(const String& custom_property_name)
+ Optional<CSS::StyleResolver::CustomPropertyResolutionTuple> resolve_custom_property(const String& custom_property_name) const
{
return m_custom_properties.get(custom_property_name);
}