| Index: third_party/WebKit/Source/core/html/HTMLMenuElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp b/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp
|
| index 59ffce336f43422f5ecc01a163401ad83245cd06..d26d981ad7fd39584f171b37ab346bc1e4a84185 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMenuElement.cpp
|
| @@ -31,25 +31,6 @@ using namespace HTMLNames;
|
| inline HTMLMenuElement::HTMLMenuElement(Document& document)
|
| : HTMLElement(menuTag, document) {}
|
|
|
| -const String HTMLMenuElement::type() const {
|
| - const AtomicString menuType = FastGetAttribute(typeAttr);
|
| - if (EqualIgnoringASCIICase(menuType, "context")) {
|
| - return "context";
|
| - }
|
| - if (EqualIgnoringASCIICase(menuType, "toolbar")) {
|
| - return "toolbar";
|
| - }
|
| - if (parentNode() && isHTMLMenuElement(parentNode()) &&
|
| - toHTMLMenuElement(parentNode())->type() == "context") {
|
| - return "context";
|
| - }
|
| - return "toolbar";
|
| -}
|
| -
|
| -void HTMLMenuElement::setType(const AtomicString& type) {
|
| - setAttribute(typeAttr, type);
|
| -}
|
| -
|
| DEFINE_NODE_FACTORY(HTMLMenuElement)
|
|
|
| } // namespace blink
|
|
|