summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp b/chromium/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp
index 2783c047b6a..5643bc146a5 100644
--- a/chromium/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp
+++ b/chromium/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp
@@ -23,7 +23,7 @@
#include "config.h"
#include "core/html/HTMLMenuElement.h"
-#include "HTMLNames.h"
+#include "core/HTMLNames.h"
namespace WebCore {
@@ -35,9 +35,6 @@ inline HTMLMenuElement::HTMLMenuElement(Document& document)
ScriptWrappable::init(this);
}
-PassRefPtr<HTMLMenuElement> HTMLMenuElement::create(Document& document)
-{
- return adoptRef(new HTMLMenuElement(document));
-}
+DEFINE_NODE_FACTORY(HTMLMenuElement)
}