Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLHtmlElement.h
index cad8d8d..e96b3ba 100644 (file)
 
 #include "core/html/HTMLElement.h"
 
-namespace WebCore {
+namespace blink {
 
 class HTMLHtmlElement FINAL : public HTMLElement {
+    DEFINE_WRAPPERTYPEINFO();
 public:
-    static PassRefPtr<HTMLHtmlElement> create(Document&);
+    DECLARE_NODE_FACTORY(HTMLHtmlElement);
 
     void insertedByParser();
 
@@ -40,8 +41,6 @@ private:
     virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
 };
 
-DEFINE_NODE_TYPE_CASTS(HTMLHtmlElement, hasTagName(HTMLNames::htmlTag));
+} // namespace blink
 
-} // namespace
-
-#endif
+#endif // HTMLHtmlElement_h