Index: Source/core/html/HTMLMenuItemElement.cpp |
diff --git a/Source/core/html/HTMLMenuItemElement.cpp b/Source/core/html/HTMLMenuItemElement.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aeddebb686156eb58f07872399d0b08b990f7a73 |
--- /dev/null |
+++ b/Source/core/html/HTMLMenuItemElement.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/HTMLMenuItemElement.h" |
+ |
+#include "core/HTMLNames.h" |
+ |
+namespace blink { |
+ |
+using namespace HTMLNames; |
+ |
+inline HTMLMenuItemElement::HTMLMenuItemElement(Document& document) |
+ : HTMLElement(menuitemTag, document) |
+{ |
+ ScriptWrappable::init(this); |
+} |
+ |
+PassRefPtrWillBeRawPtr<HTMLMenuItemElement> HTMLMenuItemElement::create(Document& document) |
tkent
2014/07/25 04:42:38
Use DEFINE_NODE_FACTORY.
pals
2014/07/30 09:47:44
Done.
|
+{ |
+ return adoptRefWillBeNoop(new HTMLMenuItemElement(document)); |
+} |
+ |
+} // namespace blink |