OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "config.h" |
| 6 #include "core/html/HTMLMenuItemElement.h" |
| 7 |
| 8 #include "HTMLNames.h" |
| 9 |
| 10 namespace WebCore { |
| 11 |
| 12 using namespace HTMLNames; |
| 13 |
| 14 inline HTMLMenuItemElement::HTMLMenuItemElement(Document& document) |
| 15 : HTMLElement(menuitemTag, document) |
| 16 { |
| 17 ScriptWrappable::init(this); |
| 18 } |
| 19 |
| 20 PassRefPtr<HTMLMenuItemElement> HTMLMenuItemElement::create(Document& document) |
| 21 { |
| 22 return adoptRef(new HTMLMenuItemElement(document)); |
| 23 } |
| 24 |
| 25 } |
OLD | NEW |