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

Unified Diff: Source/modules/accessibility/AXProgressIndicator.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/AXProgressIndicator.h ('k') | Source/modules/accessibility/AXSVGRoot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXProgressIndicator.cpp
diff --git a/Source/modules/accessibility/AXProgressIndicator.cpp b/Source/modules/accessibility/AXProgressIndicator.cpp
index 8838eebd3a286ee6d6991577c844582dde0d78e4..714bc746ae16ccc004e94fc2403ab2d515657d81 100644
--- a/Source/modules/accessibility/AXProgressIndicator.cpp
+++ b/Source/modules/accessibility/AXProgressIndicator.cpp
@@ -30,12 +30,12 @@ namespace blink {
using namespace HTMLNames;
-AXProgressIndicator::AXProgressIndicator(LayoutProgress* layoutObject, AXObjectCacheImpl* axObjectCache)
+AXProgressIndicator::AXProgressIndicator(LayoutProgress* layoutObject, AXObjectCacheImpl& axObjectCache)
: AXLayoutObject(layoutObject, axObjectCache)
{
}
-PassRefPtr<AXProgressIndicator> AXProgressIndicator::create(LayoutProgress* layoutObject, AXObjectCacheImpl* axObjectCache)
+PassRefPtr<AXProgressIndicator> AXProgressIndicator::create(LayoutProgress* layoutObject, AXObjectCacheImpl& axObjectCache)
{
return adoptRef(new AXProgressIndicator(layoutObject, axObjectCache));
}
« no previous file with comments | « Source/modules/accessibility/AXProgressIndicator.h ('k') | Source/modules/accessibility/AXSVGRoot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698