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

Unified Diff: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc

Issue 1247373002: Revert of Potential fix for browser crash while ChromeVox is on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « chrome/browser/ui/aura/accessibility/automation_manager_aura.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
diff --git a/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc b/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
index d590438569b34c7ad06eae912aac55f1775b56f6..958197370403460b7903dee4e7972ef05df60388 100644
--- a/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
+++ b/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
@@ -150,13 +150,4 @@
void AutomationManagerAura::OnNativeFocusChanged(aura::Window* focused_now) {
focused_window_ = focused_now;
- if (focused_now && !focused_now->HasObserver(this))
- focused_now->AddObserver(this);
}
-
-void AutomationManagerAura::OnWindowDestroying(aura::Window* window) {
- if (focused_window_ == window) {
- window->RemoveObserver(this);
- focused_window_ = nullptr;
- }
-}
« no previous file with comments | « chrome/browser/ui/aura/accessibility/automation_manager_aura.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698