diff options
Diffstat (limited to 'WebCore/html/HTMLQuoteElement.cpp')
-rw-r--r-- | WebCore/html/HTMLQuoteElement.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/WebCore/html/HTMLQuoteElement.cpp b/WebCore/html/HTMLQuoteElement.cpp index e548215..b646fc0 100644 --- a/WebCore/html/HTMLQuoteElement.cpp +++ b/WebCore/html/HTMLQuoteElement.cpp @@ -1,8 +1,8 @@ -/** +/* * 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 Apple Computer, Inc. + * Copyright (C) 2003, 2006, 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 @@ -19,6 +19,7 @@ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ + #include "config.h" #include "HTMLQuoteElement.h" @@ -29,12 +30,17 @@ namespace WebCore { using namespace HTMLNames; -HTMLQuoteElement::HTMLQuoteElement(const QualifiedName& tagName, Document* doc) - : HTMLElement(tagName, doc) +inline HTMLQuoteElement::HTMLQuoteElement(const QualifiedName& tagName, Document* document) + : HTMLElement(tagName, document) { ASSERT(hasTagName(qTag)); } +PassRefPtr<HTMLQuoteElement> HTMLQuoteElement::create(const QualifiedName& tagName, Document* document) +{ + return new HTMLQuoteElement(tagName, document); +} + void HTMLQuoteElement::insertedIntoDocument() { document()->setUsesBeforeAfterRules(true); |