summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLTableCaptionElement.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLTableCaptionElement.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLTableCaptionElement.h')
-rw-r--r--Source/WebCore/html/HTMLTableCaptionElement.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/WebCore/html/HTMLTableCaptionElement.h b/Source/WebCore/html/HTMLTableCaptionElement.h
index f064e28a9..b1a02596f 100644
--- a/Source/WebCore/html/HTMLTableCaptionElement.h
+++ b/Source/WebCore/html/HTMLTableCaptionElement.h
@@ -23,8 +23,7 @@
*
*/
-#ifndef HTMLTableCaptionElement_h
-#define HTMLTableCaptionElement_h
+#pragma once
#include "HTMLElement.h"
@@ -32,17 +31,13 @@ namespace WebCore {
class HTMLTableCaptionElement final : public HTMLElement {
public:
- static PassRefPtr<HTMLTableCaptionElement> create(const QualifiedName&, Document&);
+ static Ref<HTMLTableCaptionElement> create(const QualifiedName&, Document&);
private:
HTMLTableCaptionElement(const QualifiedName&, Document&);
- virtual bool isPresentationAttribute(const QualifiedName&) const override;
- virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
};
-NODE_TYPE_CASTS(HTMLTableCaptionElement)
-
-} // namespace
-
-#endif
+} // namespace WebCore