blob: 67292ced9e03d294598e13d6dac47f9dd26702ff [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/html/html_data_element.h"
#include "third_party/blink/renderer/core/frame/use_counter.h"
namespace blink {
HTMLDataElement::HTMLDataElement(Document& document)
: HTMLElement(html_names::kDataTag, document) {
UseCounter::Count(document, WebFeature::kDataElement);
}
HTMLDataElement* HTMLDataElement::Create(Document& document) {
return MakeGarbageCollected<HTMLDataElement>(document);
}
} // namespace blink