diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 14:27:20 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 14:27:20 +0000 |
commit | 7820ed7286b30548ea6334ac088581a3d3978334 (patch) | |
tree | d5322f5f141cabdcdba3fb44d2c85b1fbec5c729 /chrome | |
parent | 74b7e8d51a3a95f140e2c8be72b638e0462468ac (diff) | |
download | chromium_src-7820ed7286b30548ea6334ac088581a3d3978334.zip chromium_src-7820ed7286b30548ea6334ac088581a3d3978334.tar.gz chromium_src-7820ed7286b30548ea6334ac088581a3d3978334.tar.bz2 |
Use the last active profile instead of the default, which is no longer valid in a multi-profile world.
BUG=86361
TEST=accessibility tests still run correctly.
Review URL: http://codereview.chromium.org/7243001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/ui/views/accessibility_event_router_views.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/accessibility_event_router_views.cc b/chrome/browser/ui/views/accessibility_event_router_views.cc index 4882ea0..a4d1b5f 100644 --- a/chrome/browser/ui/views/accessibility_event_router_views.cc +++ b/chrome/browser/ui/views/accessibility_event_router_views.cc @@ -133,7 +133,7 @@ void AccessibilityEventRouterViews::DispatchAccessibilityNotification( if (!profile) profile = most_recent_profile_; if (!profile) - profile = g_browser_process->profile_manager()->GetDefaultProfile(); + profile = g_browser_process->profile_manager()->GetLastUsedProfile(); if (!profile) { NOTREACHED(); return; |