diff options
Diffstat (limited to 'WebCore/html/HTMLBRElement.h')
-rw-r--r-- | WebCore/html/HTMLBRElement.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/WebCore/html/HTMLBRElement.h b/WebCore/html/HTMLBRElement.h index 5ae33c8..3bb5af1 100644 --- a/WebCore/html/HTMLBRElement.h +++ b/WebCore/html/HTMLBRElement.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) 2003, 2006, 2009 Apple Inc. All rights reserved. + * Copyright (C) 2003, 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 @@ -28,13 +28,14 @@ namespace WebCore { -class String; - class HTMLBRElement : public HTMLElement { public: - HTMLBRElement(const QualifiedName&, Document*); + static PassRefPtr<HTMLBRElement> create(Document*); + static PassRefPtr<HTMLBRElement> create(const QualifiedName&, Document*); private: + HTMLBRElement(const QualifiedName&, Document*); + virtual HTMLTagStatus endTagRequirement() const { return TagStatusForbidden; } virtual int tagPriority() const { return 0; } @@ -44,6 +45,6 @@ private: virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); }; -} //namespace +} // namespace #endif |