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

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

Powered by Google App Engine
This is Rietveld 408576698