summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLBaseElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLBaseElement.h')
-rw-r--r--Source/WebCore/html/HTMLBaseElement.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/Source/WebCore/html/HTMLBaseElement.h b/Source/WebCore/html/HTMLBaseElement.h
index 4054e1758..b5541b49a 100644
--- a/Source/WebCore/html/HTMLBaseElement.h
+++ b/Source/WebCore/html/HTMLBaseElement.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef HTMLBaseElement_h
-#define HTMLBaseElement_h
+#pragma once
#include "HTMLElement.h"
@@ -29,23 +28,19 @@ namespace WebCore {
class HTMLBaseElement final : public HTMLElement {
public:
- static PassRefPtr<HTMLBaseElement> create(const QualifiedName&, Document&);
+ static Ref<HTMLBaseElement> create(const QualifiedName&, Document&);
- URL href() const;
- void setHref(const AtomicString&);
+ WEBCORE_EXPORT URL href() const;
+ WEBCORE_EXPORT void setHref(const AtomicString&);
private:
HTMLBaseElement(const QualifiedName&, Document&);
- virtual String target() const override;
- virtual bool isURLAttribute(const Attribute&) const override;
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode&) override;
- virtual void removedFrom(ContainerNode&) override;
+ String target() const final;
+ bool isURLAttribute(const Attribute&) const final;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
};
-NODE_TYPE_CASTS(HTMLBaseElement)
-
} // namespace
-
-#endif