diff options
Diffstat (limited to 'WebCore/html/HTMLBaseElement.h')
-rw-r--r-- | WebCore/html/HTMLBaseElement.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/html/HTMLBaseElement.h b/WebCore/html/HTMLBaseElement.h index 993a56f..6c2d2d8 100644 --- a/WebCore/html/HTMLBaseElement.h +++ b/WebCore/html/HTMLBaseElement.h @@ -1,7 +1,7 @@ /* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) - * Copyright (C) 2003, 2009 Apple Inc. All rights reserved. + * Copyright (C) 2003, 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 @@ -29,9 +29,11 @@ namespace WebCore { class HTMLBaseElement : public HTMLElement { public: - HTMLBaseElement(const QualifiedName&, Document*); + static PassRefPtr<HTMLBaseElement> create(const QualifiedName&, Document*); private: + HTMLBaseElement(const QualifiedName&, Document*); + virtual HTMLTagStatus endTagRequirement() const { return TagStatusForbidden; } virtual int tagPriority() const { return 0; } @@ -51,6 +53,6 @@ private: String m_target; }; -} //namespace +} // namespace #endif |