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

Unified Diff: ui/views/accessibility/ax_widget_obj_wrapper.cc

Issue 1629403004: Remove all descendant views from AXAuraObjCache when a view is removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only compile unit tests on aura platforms Created 4 years, 11 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 | « ui/views/accessibility/ax_aura_obj_cache_unittest.cc ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/accessibility/ax_widget_obj_wrapper.cc
diff --git a/ui/views/accessibility/ax_widget_obj_wrapper.cc b/ui/views/accessibility/ax_widget_obj_wrapper.cc
index 25183a8c22f9f806332a68ccc15af7f90e4dce6e..279e269c73ea38024df45689ca0cdb6f47b8b5ec 100644
--- a/ui/views/accessibility/ax_widget_obj_wrapper.cc
+++ b/ui/views/accessibility/ax_widget_obj_wrapper.cc
@@ -51,7 +51,7 @@ void AXWidgetObjWrapper::OnWidgetDestroying(Widget* widget) {
}
void AXWidgetObjWrapper::OnWillRemoveView(Widget* widget, View* view) {
- AXAuraObjCache::GetInstance()->Remove(view);
+ AXAuraObjCache::GetInstance()->RemoveViewSubtree(view);
}
} // namespace views
« no previous file with comments | « ui/views/accessibility/ax_aura_obj_cache_unittest.cc ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698