diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-30 12:48:17 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-30 12:48:17 +0200 |
commit | 881da28418d380042aa95a97f0cbd42560a64f7c (patch) | |
tree | a794dff3274695e99c651902dde93d934ea7a5af /Source/WebCore/html/HTMLTableCaptionElement.cpp | |
parent | 7e104c57a70fdf551bb3d22a5d637cdcbc69dbea (diff) | |
parent | 0fcedcd17cc00d3dd44c718b3cb36c1033319671 (diff) | |
download | qtwebkit-881da28418d380042aa95a97f0cbd42560a64f7c.tar.gz |
Merge 'wip/next' into dev
Change-Id: Iff9ee5e23bb326c4371ec8ed81d56f2f05d680e9
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()) |