diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLHtmlElement.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/html/HTMLHtmlElement.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLHtmlElement.h b/chromium/third_party/WebKit/Source/core/html/HTMLHtmlElement.h index 4976aac0c8c..77f43061f74 100644 --- a/chromium/third_party/WebKit/Source/core/html/HTMLHtmlElement.h +++ b/chromium/third_party/WebKit/Source/core/html/HTMLHtmlElement.h @@ -30,7 +30,7 @@ namespace WebCore { class HTMLHtmlElement FINAL : public HTMLElement { public: - static PassRefPtr<HTMLHtmlElement> create(Document&); + DECLARE_NODE_FACTORY(HTMLHtmlElement); void insertedByParser(); @@ -40,18 +40,6 @@ private: virtual bool isURLAttribute(const Attribute&) const OVERRIDE; }; -inline bool isHTMLHtmlElement(const Node* node) -{ - return node->hasTagName(HTMLNames::htmlTag); -} - -inline bool isHTMLHtmlElement(const Element* element) -{ - return element->hasTagName(HTMLNames::htmlTag); -} - -DEFINE_NODE_TYPE_CASTS(HTMLHtmlElement, hasTagName(HTMLNames::htmlTag)); - } // namespace #endif |