HTMLAudioElement.cpp 569 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibWeb/Bindings/HTMLAudioElementPrototype.h>
  7. #include <LibWeb/HTML/HTMLAudioElement.h>
  8. #include <LibWeb/HTML/Window.h>
  9. namespace Web::HTML {
  10. HTMLAudioElement::HTMLAudioElement(DOM::Document& document, DOM::QualifiedName qualified_name)
  11. : HTMLMediaElement(document, move(qualified_name))
  12. {
  13. set_prototype(&window().ensure_web_prototype<Bindings::HTMLAudioElementPrototype>("HTMLAudioElement"));
  14. }
  15. HTMLAudioElement::~HTMLAudioElement() = default;
  16. }