diff options
Diffstat (limited to 'WebCore/html/HTMLBodyElement.h')
-rw-r--r-- | WebCore/html/HTMLBodyElement.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/WebCore/html/HTMLBodyElement.h b/WebCore/html/HTMLBodyElement.h index f2c1f98..7b32549 100644 --- a/WebCore/html/HTMLBodyElement.h +++ b/WebCore/html/HTMLBodyElement.h @@ -2,7 +2,7 @@ * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2000 Simon Hausmann <hausmann@kde.org> - * Copyright (C) 2004, 2006, 2009 Apple Inc. All rights reserved. + * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -31,7 +31,8 @@ namespace WebCore { class HTMLBodyElement : public HTMLElement { public: - HTMLBodyElement(const QualifiedName&, Document*); + static PassRefPtr<HTMLBodyElement> create(Document*); + static PassRefPtr<HTMLBodyElement> create(const QualifiedName&, Document*); virtual ~HTMLBodyElement(); String aLink() const; @@ -66,6 +67,8 @@ public: #endif private: + HTMLBodyElement(const QualifiedName&, Document*); + virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; } virtual int tagPriority() const { return 10; } |