diff options
Diffstat (limited to 'Source/WebCore/html/HTMLTableCaptionElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLTableCaptionElement.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/WebCore/html/HTMLTableCaptionElement.cpp b/Source/WebCore/html/HTMLTableCaptionElement.cpp index e80693db2..261ad1774 100644 --- a/Source/WebCore/html/HTMLTableCaptionElement.cpp +++ b/Source/WebCore/html/HTMLTableCaptionElement.cpp @@ -25,7 +25,6 @@ #include "config.h" #include "HTMLTableCaptionElement.h" -#include "Attribute.h" #include "CSSPropertyNames.h" #include "HTMLNames.h" @@ -33,15 +32,15 @@ namespace WebCore { using namespace HTMLNames; -inline HTMLTableCaptionElement::HTMLTableCaptionElement(const QualifiedName& tagName, Document* document) +inline HTMLTableCaptionElement::HTMLTableCaptionElement(const QualifiedName& tagName, Document& document) : HTMLElement(tagName, document) { ASSERT(hasTagName(captionTag)); } -PassRefPtr<HTMLTableCaptionElement> HTMLTableCaptionElement::create(const QualifiedName& tagName, Document* document) +Ref<HTMLTableCaptionElement> HTMLTableCaptionElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new HTMLTableCaptionElement(tagName, document)); + return adoptRef(*new HTMLTableCaptionElement(tagName, document)); } bool HTMLTableCaptionElement::isPresentationAttribute(const QualifiedName& name) const @@ -51,7 +50,7 @@ bool HTMLTableCaptionElement::isPresentationAttribute(const QualifiedName& name) return HTMLElement::isPresentationAttribute(name); } -void HTMLTableCaptionElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) +void HTMLTableCaptionElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStyleProperties& style) { if (name == alignAttr) { if (!value.isEmpty()) |