Files
sousa-gecko/dom/html/HTMLTimeElement.cpp
T
serge-sans-paille d58c18b09a Bug 2030235 - Decouple ServoStyleConsts from nsGkAtoms.h r=emilio,necko-reviewers,geckoview-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,kershaw,m_kato
And remove unused includes of nsGkAtoms.h in the process. The few
dependencies have been moved to ServoStyleConstsInlines.h

The used command to remove the now unused dependency was:

git grep -l nsGkAtoms.h | while read line; do grep -v nsGkAtoms.h $line | grep -q -E '\<nsGkAtoms\>' || sed -i -e '/nsGkAtoms.h/d' $line  ; done

Differential Revision: https://phabricator.services.mozilla.com/D292697
2026-04-09 10:05:25 +00:00

29 lines
855 B
C++

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "HTMLTimeElement.h"
#include "mozilla/dom/HTMLTimeElementBinding.h"
#include "nsGenericHTMLElement.h"
#include "nsVariant.h"
NS_IMPL_NS_NEW_HTML_ELEMENT(Time)
namespace mozilla::dom {
HTMLTimeElement::HTMLTimeElement(
already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo)
: nsGenericHTMLElement(std::move(aNodeInfo)) {}
HTMLTimeElement::~HTMLTimeElement() = default;
NS_IMPL_ELEMENT_CLONE(HTMLTimeElement)
JSObject* HTMLTimeElement::WrapNode(JSContext* cx,
JS::Handle<JSObject*> aGivenProto) {
return HTMLTimeElement_Binding::Wrap(cx, this, aGivenProto);
}
} // namespace mozilla::dom