LibWeb: Convert a couple west-const formattings to east-const

This commit is contained in:
Timothy Flynn 2023-06-07 14:16:12 -04:00 committed by Andreas Kling
commit efd8176ce3
Notes: sideshowbarker 2024-07-17 01:23:08 +09:00

View file

@ -149,17 +149,17 @@ public:
HTML::HTMLHeadElement* head();
HTML::HTMLElement* body();
const HTML::HTMLHtmlElement* html_element() const
HTML::HTMLHtmlElement const* html_element() const
{
return const_cast<Document*>(this)->html_element();
}
const HTML::HTMLHeadElement* head() const
HTML::HTMLHeadElement const* head() const
{
return const_cast<Document*>(this)->head();
}
const HTML::HTMLElement* body() const
HTML::HTMLElement const* body() const
{
return const_cast<Document*>(this)->body();
}