HTMLDataElement.cpp 637 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibWeb/Bindings/HTMLDataElementPrototype.h>
  7. #include <LibWeb/Bindings/Intrinsics.h>
  8. #include <LibWeb/HTML/HTMLDataElement.h>
  9. namespace Web::HTML {
  10. GC_DEFINE_ALLOCATOR(HTMLDataElement);
  11. HTMLDataElement::HTMLDataElement(DOM::Document& document, DOM::QualifiedName qualified_name)
  12. : HTMLElement(document, move(qualified_name))
  13. {
  14. }
  15. HTMLDataElement::~HTMLDataElement() = default;
  16. void HTMLDataElement::initialize(JS::Realm& realm)
  17. {
  18. Base::initialize(realm);
  19. WEB_SET_PROTOTYPE_FOR_INTERFACE(HTMLDataElement);
  20. }
  21. }