blob: ebf7f21b17f1de6f7cc42e7511cd7748b940da41 [file] [log] [blame]
// Copyright 2014 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 "config.h"
#include "core/html/HTMLPictureElement.h"
#include "HTMLNames.h"
namespace WebCore {
using namespace HTMLNames;
HTMLPictureElement::HTMLPictureElement(Document& document)
: HTMLElement(pictureTag, document)
{
ScriptWrappable::init(this);
}
PassRefPtr<HTMLPictureElement> HTMLPictureElement::create(Document& document)
{
return adoptRef(new HTMLPictureElement(document));
}
} // namespace