Index: chrome/browser/ui/webui/options/supervised_user_import_handler.cc |
diff --git a/chrome/browser/ui/webui/options/supervised_user_import_handler.cc b/chrome/browser/ui/webui/options/supervised_user_import_handler.cc |
index 93039f84948c8116f8a690423ccff86147cdfe2b..f3cbf1165032408b69d3b9b897e455362b31e047 100644 |
--- a/chrome/browser/ui/webui/options/supervised_user_import_handler.cc |
+++ b/chrome/browser/ui/webui/options/supervised_user_import_handler.cc |
@@ -220,7 +220,7 @@ bool SupervisedUserImportHandler::IsAccountConnected() const { |
Profile* profile = Profile::FromWebUI(web_ui()); |
SigninManagerBase* signin_manager = |
SigninManagerFactory::GetForProfile(profile); |
- return signin_manager && !signin_manager->GetAuthenticatedUsername().empty(); |
+ return signin_manager && signin_manager->IsAuthenticated(); |
} |
bool SupervisedUserImportHandler::HasAuthError() const { |