Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1000)

Unified Diff: WebCore/accessibility/AccessibilityImageMapLink.h

Issue 5543004: Merge 72969 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: WebCore/accessibility/AccessibilityImageMapLink.h
===================================================================
--- WebCore/accessibility/AccessibilityImageMapLink.h (revision 73160)
+++ WebCore/accessibility/AccessibilityImageMapLink.h (working copy)
@@ -44,12 +44,12 @@
virtual ~AccessibilityImageMapLink();
void setHTMLAreaElement(HTMLAreaElement* element) { m_areaElement = element; }
- HTMLAreaElement* areaElement() const { return m_areaElement; }
+ HTMLAreaElement* areaElement() const { return m_areaElement.get(); }
void setHTMLMapElement(HTMLMapElement* element) { m_mapElement = element; }
- HTMLMapElement* mapElement() const { return m_mapElement; }
+ HTMLMapElement* mapElement() const { return m_mapElement.get(); }
- virtual Node* node() const { return m_areaElement; }
+ virtual Node* node() const { return m_areaElement.get(); }
void setParent(AccessibilityObject* parent) { m_parent = parent; }
virtual AccessibilityRole roleValue() const;
@@ -72,8 +72,8 @@
virtual IntRect elementRect() const;
private:
- HTMLAreaElement* m_areaElement;
- HTMLMapElement* m_mapElement;
+ RefPtr<HTMLAreaElement> m_areaElement;
+ RefPtr<HTMLMapElement> m_mapElement;
AccessibilityObject* m_parent;
virtual bool isImageMapLink() const { return true; }

Powered by Google App Engine
This is Rietveld 408576698