summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLMapElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLMapElement.h')
-rw-r--r--Source/WebCore/html/HTMLMapElement.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/WebCore/html/HTMLMapElement.h b/Source/WebCore/html/HTMLMapElement.h
index 7d7740830..9ae446728 100644
--- a/Source/WebCore/html/HTMLMapElement.h
+++ b/Source/WebCore/html/HTMLMapElement.h
@@ -32,8 +32,8 @@ class HTMLImageElement;
class HTMLMapElement final : public HTMLElement {
public:
- static Ref<HTMLMapElement> create(Document&);
- static Ref<HTMLMapElement> create(const QualifiedName&, Document&);
+ static PassRefPtr<HTMLMapElement> create(Document&);
+ static PassRefPtr<HTMLMapElement> create(const QualifiedName&, Document&);
virtual ~HTMLMapElement();
const AtomicString& getName() const { return m_name; }
@@ -41,7 +41,7 @@ public:
bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&);
HTMLImageElement* imageElement();
- Ref<HTMLCollection> areas();
+ PassRefPtr<HTMLCollection> areas();
private:
HTMLMapElement(const QualifiedName&, Document&);
@@ -54,6 +54,8 @@ private:
AtomicString m_name;
};
+NODE_TYPE_CASTS(HTMLMapElement)
+
} // namespaces
#endif