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

Unified Diff: content/browser/accessibility/browser_accessibility.cc

Issue 1925473002: Add verbose logging for native accessibility events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@load_complete
Patch Set: address all feedback Created 4 years, 8 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 | « no previous file | content/browser/accessibility/browser_accessibility_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility.cc
diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
index e77833cf60232bd30b93cc46828ab943579808dc..546c6e2883f3ff90a2ea1761fce3e80607ad8a8c 100644
--- a/content/browser/accessibility/browser_accessibility.cc
+++ b/content/browser/accessibility/browser_accessibility.cc
@@ -731,7 +731,10 @@ BrowserAccessibility* BrowserAccessibility::BrowserAccessibilityForPoint(
void BrowserAccessibility::Destroy() {
// Allow the object to fire a TextRemoved notification.
- manager_->NotifyAccessibilityEvent(ui::AX_EVENT_HIDE, this);
+ manager()->NotifyAccessibilityEvent(
+ BrowserAccessibilityEvent::FromTreeChange,
+ ui::AX_EVENT_HIDE,
+ this);
node_ = NULL;
manager_ = NULL;
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698