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 "core/HTMLNames.h" | |
9 | |
10 namespace blink { | |
11 | |
12 using namespace HTMLNames; | |
13 | |
14 inline HTMLMenuItemElement::HTMLMenuItemElement(Document& document) | |
15 : HTMLElement(menuitemTag, document) | |
16 { | |
17 ScriptWrappable::init(this); | |
18 } | |
19 | |
20 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.
| |
21 { | |
22 return adoptRefWillBeNoop(new HTMLMenuItemElement(document)); | |
23 } | |
24 | |
25 } // namespace blink | |
OLD | NEW |