From 6882a04fb36642862b11efe514251d32070c3d65 Mon Sep 17 00:00:00 2001 From: Konstantin Tokarev Date: Thu, 25 Aug 2016 19:20:41 +0300 Subject: Imported QtWebKit TP3 (git b57bc6801f1876c3220d5a4bfea33d620d477443) Change-Id: I3b1d8a2808782c9f34d50240000e20cb38d3680f Reviewed-by: Konstantin Tokarev --- Source/WebCore/html/HTMLTableCaptionElement.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Source/WebCore/html/HTMLTableCaptionElement.cpp') 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::create(const QualifiedName& tagName, Document* document) +Ref 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()) -- cgit v1.2.1