From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLMapElement.h | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'Source/WebCore/html/HTMLMapElement.h') 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 create(Document&); - static PassRefPtr create(const QualifiedName&, Document&); + static Ref create(Document&); + static Ref 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 areas(); + WEBCORE_EXPORT Ref 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 -- cgit v1.2.1