diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/DOMTokenList.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/DOMTokenList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/DOMTokenList.cpp b/Userland/Libraries/LibWeb/DOM/DOMTokenList.cpp index ba0fddd7a1..ab85a1cf59 100644 --- a/Userland/Libraries/LibWeb/DOM/DOMTokenList.cpp +++ b/Userland/Libraries/LibWeb/DOM/DOMTokenList.cpp @@ -52,14 +52,14 @@ inline void replace_in_ordered_set(Vector<DeprecatedString>& set, StringView ite namespace Web::DOM { -WebIDL::ExceptionOr<JS::NonnullGCPtr<DOMTokenList>> DOMTokenList::create(Element const& associated_element, DeprecatedFlyString associated_attribute) +WebIDL::ExceptionOr<JS::NonnullGCPtr<DOMTokenList>> DOMTokenList::create(Element& associated_element, DeprecatedFlyString associated_attribute) { auto& realm = associated_element.realm(); return MUST_OR_THROW_OOM(realm.heap().allocate<DOMTokenList>(realm, associated_element, move(associated_attribute))); } // https://dom.spec.whatwg.org/#ref-for-domtokenlist%E2%91%A0%E2%91%A2 -DOMTokenList::DOMTokenList(Element const& associated_element, DeprecatedFlyString associated_attribute) +DOMTokenList::DOMTokenList(Element& associated_element, DeprecatedFlyString associated_attribute) : Bindings::LegacyPlatformObject(associated_element.realm()) , m_associated_element(associated_element) , m_associated_attribute(move(associated_attribute)) |