1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:18:11 +00:00

LibWeb: Clean up static function in header

'static' for a function means that the symbol shall not be made public
for the result of the current compilation unit. This does not make sense
in a header, especially not if it's a large function that is used in
more than one place and not that performance-sensitive.
This commit is contained in:
Ben Wiederhake 2021-10-02 22:45:37 +02:00 committed by Linus Groh
parent 21ba485fd3
commit 7619dbdbb4
6 changed files with 60 additions and 58 deletions

View file

@ -44,7 +44,7 @@ String ShadowRoot::inner_html() const
// https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml
ExceptionOr<void> ShadowRoot::set_inner_html(String const& markup)
{
auto result = DOMParsing::InnerHTML::inner_html_setter(*this, markup);
auto result = DOMParsing::inner_html_setter(*this, markup);
if (result.is_exception())
return result.exception();