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

Unified Diff: Source/modules/accessibility/AXList.cpp

Issue 1175533004: Refactor: Clear m_axObjectCache when AXObject detaches (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added ASSERT 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
« no previous file with comments | « Source/modules/accessibility/AXList.h ('k') | Source/modules/accessibility/AXListBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXList.cpp
diff --git a/Source/modules/accessibility/AXList.cpp b/Source/modules/accessibility/AXList.cpp
index 06c759e7400cbc87e96e3e5b7d110b8a8e671b4c..ffb8546ea782643b24b1760517281a652666ce81 100644
--- a/Source/modules/accessibility/AXList.cpp
+++ b/Source/modules/accessibility/AXList.cpp
@@ -37,7 +37,7 @@ namespace blink {
using namespace HTMLNames;
-AXList::AXList(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
+AXList::AXList(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
: AXLayoutObject(layoutObject, axObjectCache)
{
}
@@ -46,7 +46,7 @@ AXList::~AXList()
{
}
-PassRefPtr<AXList> AXList::create(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
+PassRefPtr<AXList> AXList::create(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
{
return adoptRef(new AXList(layoutObject, axObjectCache));
}
« no previous file with comments | « Source/modules/accessibility/AXList.h ('k') | Source/modules/accessibility/AXListBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698