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

Unified Diff: Source/modules/accessibility/AXARIAGridCell.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/AXARIAGridCell.h ('k') | Source/modules/accessibility/AXARIAGridRow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXARIAGridCell.cpp
diff --git a/Source/modules/accessibility/AXARIAGridCell.cpp b/Source/modules/accessibility/AXARIAGridCell.cpp
index 905f13da8b9caa4d749f68d8afd311e8d6a66a04..bb21caf7c13db65d122ba8a67480e58a3e919ef5 100644
--- a/Source/modules/accessibility/AXARIAGridCell.cpp
+++ b/Source/modules/accessibility/AXARIAGridCell.cpp
@@ -36,7 +36,7 @@
namespace blink {
-AXARIAGridCell::AXARIAGridCell(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
+AXARIAGridCell::AXARIAGridCell(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
: AXTableCell(layoutObject, axObjectCache)
{
}
@@ -45,7 +45,7 @@ AXARIAGridCell::~AXARIAGridCell()
{
}
-PassRefPtr<AXARIAGridCell> AXARIAGridCell::create(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
+PassRefPtr<AXARIAGridCell> AXARIAGridCell::create(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
{
return adoptRef(new AXARIAGridCell(layoutObject, axObjectCache));
}
« no previous file with comments | « Source/modules/accessibility/AXARIAGridCell.h ('k') | Source/modules/accessibility/AXARIAGridRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698