Index: chrome/browser/ui/views/user_manager_view.cc |
diff --git a/chrome/browser/ui/views/user_manager_view.cc b/chrome/browser/ui/views/user_manager_view.cc |
index 8635ef45ea8bbd9a3a175c32d2794e1aa1114357..bcb083e367c0f52b2d4396b5464f88da90fd6af5 100644 |
--- a/chrome/browser/ui/views/user_manager_view.cc |
+++ b/chrome/browser/ui/views/user_manager_view.cc |
@@ -64,13 +64,13 @@ UserManagerView::UserManagerView(Profile* profile) |
} |
UserManagerView::~UserManagerView() { |
- chrome::EndKeepAlive(); // Remove shutdown prevention. |
+ chrome::DecrementKeepAliveCount(); // Remove shutdown prevention. |
} |
// static |
void UserManagerView::Show(const base::FilePath& profile_path_to_focus) { |
// Prevent the browser process from shutting down while this window is open. |
- chrome::StartKeepAlive(); |
+ chrome::IncrementKeepAliveCount(); |
ProfileMetrics::LogProfileSwitchUser(ProfileMetrics::OPEN_USER_MANAGER); |
if (instance_) { |