diff options
Diffstat (limited to 'Source/WebCore/html/HTMLParamElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLParamElement.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/WebCore/html/HTMLParamElement.h b/Source/WebCore/html/HTMLParamElement.h index 4e81d2da7..a10af5071 100644 --- a/Source/WebCore/html/HTMLParamElement.h +++ b/Source/WebCore/html/HTMLParamElement.h @@ -20,8 +20,7 @@ * */ -#ifndef HTMLParamElement_h -#define HTMLParamElement_h +#pragma once #include "HTMLElement.h" @@ -29,7 +28,7 @@ namespace WebCore { class HTMLParamElement final : public HTMLElement { public: - static PassRefPtr<HTMLParamElement> create(const QualifiedName&, Document&); + static Ref<HTMLParamElement> create(const QualifiedName&, Document&); String name() const; String value() const; @@ -39,12 +38,8 @@ public: private: HTMLParamElement(const QualifiedName&, Document&); - virtual bool isURLAttribute(const Attribute&) const override; - virtual void addSubresourceAttributeURLs(ListHashSet<URL>&) const override; + bool isURLAttribute(const Attribute&) const final; + void addSubresourceAttributeURLs(ListHashSet<URL>&) const final; }; -NODE_TYPE_CASTS(HTMLParamElement) - } // namespace WebCore - -#endif |