summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLMapElement.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-05-20 09:56:07 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-05-20 09:56:07 +0000
commit41386e9cb918eed93b3f13648cbef387e371e451 (patch)
treea97f9d7bd1d9d091833286085f72da9d83fd0606 /Source/WebCore/html/HTMLMapElement.h
parente15dd966d523731101f70ccf768bba12435a0208 (diff)
downloadWebKitGtk-tarball-41386e9cb918eed93b3f13648cbef387e371e451.tar.gz
webkitgtk-2.4.9webkitgtk-2.4.9
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