summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLMapElement.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/HTMLMapElement.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLMapElement.h')
-rw-r--r--Source/WebCore/html/HTMLMapElement.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/Source/WebCore/html/HTMLMapElement.h b/Source/WebCore/html/HTMLMapElement.h
index 9ae446728..18265d031 100644
--- a/Source/WebCore/html/HTMLMapElement.h
+++ b/Source/WebCore/html/HTMLMapElement.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef HTMLMapElement_h
-#define HTMLMapElement_h
+#pragma once
#include "HTMLElement.h"
@@ -32,8 +31,8 @@ class HTMLImageElement;
class HTMLMapElement final : public HTMLElement {
public:
- static PassRefPtr<HTMLMapElement> create(Document&);
- static PassRefPtr<HTMLMapElement> create(const QualifiedName&, Document&);
+ static Ref<HTMLMapElement> create(Document&);
+ static Ref<HTMLMapElement> create(const QualifiedName&, Document&);
virtual ~HTMLMapElement();
const AtomicString& getName() const { return m_name; }
@@ -41,21 +40,17 @@ public:
bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&);
HTMLImageElement* imageElement();
- PassRefPtr<HTMLCollection> areas();
+ WEBCORE_EXPORT Ref<HTMLCollection> areas();
private:
HTMLMapElement(const QualifiedName&, Document&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- virtual InsertionNotificationRequest insertedInto(ContainerNode&) override;
- virtual void removedFrom(ContainerNode&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
AtomicString m_name;
};
-NODE_TYPE_CASTS(HTMLMapElement)
-
} // namespaces
-
-#endif