Index: chrome/browser/ui/views/profile_chooser_view.cc |
diff --git a/chrome/browser/ui/views/profile_chooser_view.cc b/chrome/browser/ui/views/profile_chooser_view.cc |
index 279deaa9efb77f8ff79b4a74eaf812ba98b4dcd6..fe68154e92dd68bb3ec78b8b17c959a3094d7c1d 100644 |
--- a/chrome/browser/ui/views/profile_chooser_view.cc |
+++ b/chrome/browser/ui/views/profile_chooser_view.cc |
@@ -440,7 +440,7 @@ void ProfileChooserView::LinkClicked(views::Link* sender, int event_flags) { |
// 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_) { |
- avatar_menu_->BeginSignOut(); |
+ profiles::LockProfile(browser_->profile()); |
} else if (sender == signin_current_profile_link_) { |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableInlineSignin)) { |