1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:27:45 +00:00

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
parent 7ff6d8d9e2
commit efd8176ce3

View file

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