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..cbedadb2908f6221cb08bed8510b0898c5baead5 |
--- /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 "HTMLNames.h" |
+ |
+namespace WebCore { |
+ |
+using namespace HTMLNames; |
+ |
+inline HTMLMenuitemElement::HTMLMenuitemElement(Document& document) |
esprehn
2014/06/20 08:39:57
Incorrect capitalization per the spec.
pals
2014/06/20 14:22:10
Done.
|
+ : HTMLElement(menuitemTag, document) |
+{ |
+ ScriptWrappable::init(this); |
+} |
+ |
+PassRefPtr<HTMLMenuitemElement> HTMLMenuitemElement::create(Document& document) |
+{ |
+ return adoptRef(new HTMLMenuitemElement(document)); |
+} |
+ |
+} |