Index: trunk/src/chrome/browser/ui/views/profile_chooser_view.cc |
=================================================================== |
--- trunk/src/chrome/browser/ui/views/profile_chooser_view.cc (revision 235821) |
+++ trunk/src/chrome/browser/ui/views/profile_chooser_view.cc (working copy) |
@@ -440,7 +440,7 @@ |
// ShowView() will DCHECK if this view is displayed for non signed-in users. |
ShowView(ACCOUNT_MANAGEMENT_VIEW, avatar_menu_.get()); |
} else if (sender == signout_current_profile_link_) { |
- profiles::LockProfile(browser_->profile()); |
+ avatar_menu_->BeginSignOut(); |
} else if (sender == signin_current_profile_link_) { |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableInlineSignin)) { |