| Index: chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
| diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
| index b81576b17e4c948c9f897bff6042641ed8f4589b..375dd8c813ad21a0bbfcbe7f9c569205fad0799e 100644
|
| --- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
| +++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
| @@ -49,6 +49,7 @@
|
| #include "components/proximity_auth/screenlock_bridge.h"
|
| #include "components/signin/core/account_id/account_id.h"
|
| #include "content/public/browser/notification_service.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_ui.h"
|
| #include "google_apis/gaia/gaia_auth_fetcher.h"
|
| @@ -430,8 +431,9 @@ void UserManagerScreenHandler::HandleAuthenticatedLaunchUser(
|
| // change makes use of a token so we do that... if it's available.
|
| if (!oauth_client_) {
|
| oauth_client_.reset(new gaia::GaiaOAuthClient(
|
| - web_ui()->GetWebContents()->GetBrowserContext()
|
| - ->GetRequestContext()));
|
| + content::BrowserContext::GetDefaultStoragePartition(
|
| + web_ui()->GetWebContents()->GetBrowserContext())->
|
| + GetURLRequestContext()));
|
| }
|
|
|
| const std::string token = entry->GetPasswordChangeDetectionToken();
|
|
|