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

Unified Diff: Source/modules/accessibility/AXImageMapLink.h

Issue 1072273006: Oilpan: Prepare moving AXObject to heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months 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: Source/modules/accessibility/AXImageMapLink.h
diff --git a/Source/modules/accessibility/AXImageMapLink.h b/Source/modules/accessibility/AXImageMapLink.h
index 87f1310935cb39076d97d3579db889980d18d1f5..72b8e823367e0dbc0adc5f083d92742d5a712b9d 100644
--- a/Source/modules/accessibility/AXImageMapLink.h
+++ b/Source/modules/accessibility/AXImageMapLink.h
@@ -43,8 +43,9 @@ private:
explicit AXImageMapLink(AXObjectCacheImpl&);
public:
- static PassRefPtr<AXImageMapLink> create(AXObjectCacheImpl&);
+ static PassRefPtrWillBeRawPtr<AXImageMapLink> create(AXObjectCacheImpl&);
virtual ~AXImageMapLink();
+ DECLARE_VIRTUAL_TRACE();
void setHTMLAreaElement(HTMLAreaElement* element) { m_areaElement = element; }
HTMLAreaElement* areaElement() const { return m_areaElement.get(); }
@@ -69,8 +70,8 @@ public:
virtual LayoutRect elementRect() const override;
private:
- RefPtrWillBePersistent<HTMLAreaElement> m_areaElement;
- RefPtrWillBePersistent<HTMLMapElement> m_mapElement;
+ RefPtrWillBeWeakMember<HTMLAreaElement> m_areaElement;
haraken 2015/06/24 13:27:20 This should be Member.
keishi 2015/06/24 15:05:26 Done.
+ RefPtrWillBeWeakMember<HTMLMapElement> m_mapElement;
haraken 2015/06/24 13:27:20 Ditto.
keishi 2015/06/24 15:05:26 Done.
virtual void detachFromParent() override;

Powered by Google App Engine
This is Rietveld 408576698