summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLTableCaptionElement.h
diff options
context:
space:
mode:
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