Index: Source/core/html/HTMLPictureElement.cpp |
diff --git a/Source/core/html/HTMLPictureElement.cpp b/Source/core/html/HTMLPictureElement.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ebf7f21b17f1de6f7cc42e7511cd7748b940da41 |
--- /dev/null |
+++ b/Source/core/html/HTMLPictureElement.cpp |
@@ -0,0 +1,25 @@ |
+// 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 |